- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.security.SecurityException
-
- org.refcodes.security.EncryptionException
-
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
public class EncryptionException extends SecurityException
Thrown in case an encryption issue occurred regarding theEncrypter
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EncryptionException.EncryptionRuntimeException
Thrown in case an encryption issue occurred regarding theEncrypter
.-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description EncryptionException(String message)
Instantiates a new encryption exception.EncryptionException(String aMessage, String aErrorCode)
Instantiates a new encryption exception.EncryptionException(String message, Throwable cause)
Instantiates a new encryption exception.EncryptionException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new encryption exception.EncryptionException(Throwable cause)
Instantiates a new encryption exception.EncryptionException(Throwable aCause, String aErrorCode)
Instantiates a new encryption exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EncryptionException
public EncryptionException(String aMessage, String aErrorCode)
Instantiates a new encryption exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
EncryptionException
public EncryptionException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new encryption exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
EncryptionException
public EncryptionException(String message, Throwable cause)
Instantiates a new encryption exception.- Parameters:
message
- the messagecause
- the cause
-
EncryptionException
public EncryptionException(String message)
Instantiates a new encryption exception.- Parameters:
message
- the message
-
EncryptionException
public EncryptionException(Throwable aCause, String aErrorCode)
Instantiates a new encryption exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
EncryptionException
public EncryptionException(Throwable cause)
Instantiates a new encryption exception.- Parameters:
cause
- the cause
-
-