Package org.moera.lib.node.exception
Class MoeraNodeCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moera.lib.node.exception.MoeraNodeCallException
- All Implemented Interfaces:
Serializable
Thrown to indicate errors like missing context of the call (authentication parameters or node URL)
when attempting to call Moera Node API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMoeraNodeCallException
(String message) Constructs a newMoeraNodeCallException
with the specified detail message.MoeraNodeCallException
(String message, Throwable cause) Constructs a newMoeraNodeCallException
with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MoeraNodeCallException
Constructs a newMoeraNodeCallException
with the specified detail message.- Parameters:
message
- the detail message
-
MoeraNodeCallException
Constructs a newMoeraNodeCallException
with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the throwable that caused this exception to be thrown
-