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