Class EncryptionException

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 a decryption issue occurred regarding the Decrypter. Probably the configuration of your Encrypter does not fit the one of the Decrypter.
See Also:
Serialized Form
  • Constructor Details

    • EncryptionException

      public EncryptionException​(String aMessage, String aErrorCode)
      Instantiates a new encryption exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • EncryptionException

      public EncryptionException​(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new encryption exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • EncryptionException

      public EncryptionException​(String message, Throwable cause)
      Instantiates a new encryption exception.
      Parameters:
      message - the message
      cause - 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 cause
      aErrorCode - the error code
    • EncryptionException

      public EncryptionException​(Throwable cause)
      Instantiates a new encryption exception.
      Parameters:
      cause - the cause