Package org.refcodes.security
Class EncryptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.security.SecurityException
-
- org.refcodes.security.EncryptionException
-
public class EncryptionException extends SecurityException
Thrown in case a decryption issue occurred regarding theDecrypter
. Probably the configuration of yourEncrypter
does not fit the one of theDecrypter
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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(java.lang.String message)
Instantiates a new encryption exception.EncryptionException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new encryption exception.EncryptionException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new encryption exception.EncryptionException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new encryption exception.EncryptionException(java.lang.Throwable cause)
Instantiates a new encryption exception.EncryptionException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new encryption exception.
-
-
-
Constructor Detail
-
EncryptionException
public EncryptionException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new encryption exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
EncryptionException
public EncryptionException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new encryption exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
EncryptionException
public EncryptionException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new encryption exception.- Parameters:
message
- the messagecause
- the cause
-
EncryptionException
public EncryptionException(java.lang.String message)
Instantiates a new encryption exception.- Parameters:
message
- the message
-
EncryptionException
public EncryptionException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new encryption exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
EncryptionException
public EncryptionException(java.lang.Throwable cause)
Instantiates a new encryption exception.- Parameters:
cause
- the cause
-
-