Package org.symbol.sdk
Class CryptoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.symbol.sdk.CryptoException
- All Implemented Interfaces:
Serializable
- CryptoException
- Signals a failure inside the SDK's cryptographic primitives, typically wrapping a JDK
GeneralSecurityException. ExtendsIllegalStateExceptionso it remains unchecked for existing callers.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCryptoException(String message) Creates a crypto exception.CryptoException(String message, Throwable cause) Creates a crypto exception wrapping an underlying cause.CryptoException(Throwable cause) Creates a crypto exception wrapping an underlying cause (no explicit message). -
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
Creates a crypto exception.- Parameters:
message- Failure reason.
-
CryptoException
Creates a crypto exception wrapping an underlying cause.- Parameters:
message- Failure reason.cause- Underlying cause.
-
CryptoException
Creates a crypto exception wrapping an underlying cause (no explicit message).- Parameters:
cause- Underlying cause.
-