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
public class InvalidCipherTextException extends CryptoException
this exception is thrown whenever we find something we don't expect in a message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidCipherTextException()
base 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 Detail
-
InvalidCipherTextException
public InvalidCipherTextException()
base constructor.
-
InvalidCipherTextException
public InvalidCipherTextException(String message)
create a InvalidCipherTextException with the given message.- Parameters:
message
- the message to be carried with the exception.
-
-