Package org.webpki.keygen2
Class KeyGen2Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.webpki.keygen2.KeyGen2Exception
- All Implemented Interfaces:
Serializable
Wrapper for making the KeyGen2 library only throw unchecked exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionKeyGen2Exception
(Exception sourceException) Constructor for rethrowing checked exceptions.KeyGen2Exception
(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
-
KeyGen2Exception
Constructor for rethrowing checked exceptions.- Parameters:
sourceException
-
-
KeyGen2Exception
Constructor for original exceptions.- Parameters:
message
-
-