Package africa.absa.inception.core.util
Class Base64Exception
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- africa.absa.inception.core.util.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 Summary
Constructors Constructor Description Base64Exception()Constructs a new Base64Exception with null as its message.Base64Exception(String message)Constructs a new Base64Exception with the specified message.Base64Exception(String message, Throwable cause)Constructs a new Base64Exception with the specified message and cause.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).
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-