Class InvalidCipherTextException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidCipherTextException
    extends CryptoException
    this exception is thrown whenever we find something we don't expect in a message.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidCipherTextException

        public InvalidCipherTextException()
        base constructor.
      • InvalidCipherTextException

        public InvalidCipherTextException​(java.lang.String message)
        create a InvalidCipherTextException with the given message.
        Parameters:
        message - the message to be carried with the exception.
      • InvalidCipherTextException

        public InvalidCipherTextException​(java.lang.String message,
                                          java.lang.Throwable cause)
        create a InvalidCipherTextException with the given message.
        Parameters:
        message - the message to be carried with the exception.
        cause - the root cause of the exception.