Package monero.common
Class MoneroError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
monero.common.MoneroError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MoneroRpcError
Exception when interacting with a Monero wallet or daemon.
- See Also:
-
Constructor Summary
ConstructorDescriptionMoneroError
(String message) Construct the exception.MoneroError
(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
-
MoneroError
Construct the exception with an existing exception.- Parameters:
e
- is the existing exception
-
MoneroError
Construct the exception.- Parameters:
message
- is a human-readable description of the error
-
MoneroError
Construct the exception.- Parameters:
message
- is a human-readable description of the errorcode
- is the error code (optional)
-
-
Method Details