Class Base64Exception

  • All Implemented Interfaces:
    Serializable

    public class Base64Exception
    extends RuntimeException
    The Base64Exception exception is thrown to indicate an error condition when performing a base64 encode or decode operation.
    Author:
    Marcus Portmann
    See Also:
    Serialized Form
    • Constructor Detail

      • Base64Exception

        public Base64Exception()
        Constructs a new Base64Exception with null as its message.
      • Base64Exception

        public Base64Exception​(String message)
        Constructs a new Base64Exception with the specified message.
        Parameters:
        message - The message saved for later retrieval by the getMessage() method.
      • Base64Exception

        public Base64Exception​(Throwable cause)
        Constructs a new Base64Exception with the specified cause and a message of (cause==null ? null : cause.toString()) (which typically contains the class and message of cause).
        Parameters:
        cause - The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)
      • Base64Exception

        public Base64Exception​(String message,
                               Throwable cause)
        Constructs a new Base64Exception with the specified message and cause.
        Parameters:
        message - The message saved for later retrieval by the getMessage() method.
        cause - The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)