Package org.bouncycastle.crypto
Class CryptoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bouncycastle.crypto.CryptoException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidCipherTextException
the foundation class for the hard exceptions thrown by the crypto packages.
- See Also:
-
Constructor Summary
ConstructorDescriptionbase constructor.CryptoException
(String message) create a CryptoException with the given message.CryptoException
(String message, Throwable cause) Create a CryptoException with the given message and underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CryptoException
public CryptoException()base constructor. -
CryptoException
create a CryptoException with the given message.- Parameters:
message
- the message to be carried with the exception.
-
CryptoException
Create a CryptoException with the given message and underlying cause.- Parameters:
message
- message describing exception.cause
- the throwable that was the underlying cause.
-
-
Method Details