Package org.bouncycastle.crypto
Class InvalidCipherTextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bouncycastle.crypto.CryptoException
org.bouncycastle.crypto.InvalidCipherTextException
- All Implemented Interfaces:
Serializable
this exception is thrown whenever we find something we don't expect in a
message.
- See Also:
-
Constructor Summary
ConstructorDescriptionbase constructor.InvalidCipherTextException
(String message) create a InvalidCipherTextException with the given message.InvalidCipherTextException
(String message, Throwable cause) create a InvalidCipherTextException with the given message. -
Method Summary
Methods inherited from class org.bouncycastle.crypto.CryptoException
getCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidCipherTextException
public InvalidCipherTextException()base constructor. -
InvalidCipherTextException
create a InvalidCipherTextException with the given message.- Parameters:
message
- the message to be carried with the exception.
-
InvalidCipherTextException
create a InvalidCipherTextException with the given message.- Parameters:
message
- the message to be carried with the exception.cause
- the root cause of the exception.
-