Package org.webpki.crypto
Class CryptoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.webpki.crypto.CryptoException
- All Implemented Interfaces:
Serializable
Wrapper for making the WebPKI crypto library only throw unchecked exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionCryptoException
(Exception sourceException) Constructor for rethrowing checked exceptions.CryptoException
(String message) Constructor for original exceptions. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CryptoException
Constructor for rethrowing checked exceptions.- Parameters:
sourceException
-
-
CryptoException
Constructor for original exceptions.- Parameters:
message
-
-