Class VodozemacException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConversionException, DecryptionException, EciesException, EncryptionException, KeyException, PickleException, SasException, SessionCreationException, SignatureException
Base exception class for all errors thrown by the vodozemac Java bindings.
All specific exception types (PickleException, DecryptionException,
SessionCreationException, KeyException, SignatureException,
SasException, ConversionException, EciesException, EncryptionException)
extend this class, allowing callers to catch all vodozemac errors with a single
catch clause if desired.
- Author:
- François HERBRETEAU
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVodozemacException(String message) Constructs a newVodozemacExceptionwith the specified detail message.protectedVodozemacException(String message, Throwable cause) Constructs a newVodozemacExceptionwith the specified detail message and a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VodozemacException
Constructs a newVodozemacExceptionwith the specified detail message.- Parameters:
message- the detail message
-
VodozemacException
-