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