Package zephyr.common
Class ZephyrError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
zephyr.common.ZephyrError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ZephyrRpcError
Exception when interacting with a Zephyr wallet or daemon.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionZephyrError(String message) Construct the exception.ZephyrError(String message, Integer code) Construct the exception.Construct the exception with an existing exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ZephyrError
Construct the exception with an existing exception.- Parameters:
e- is the existing exception
-
ZephyrError
Construct the exception.- Parameters:
message- is a human-readable description of the error
-
ZephyrError
Construct the exception.- Parameters:
message- is a human-readable description of the errorcode- is the error code (optional)
-
-
Method Details