Package org.moera.lib.jsonrpc
Class JsonRpcConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moera.lib.jsonrpc.JsonRpcConnectionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MoeraNamingConnectionException
,PushRelayConnectionException
Represents an exception thrown to indicate a connection-related issue
during a JSON-RPC communication.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsonRpcConnectionException
(String message) Constructs a newJsonRpcConnectionException
with the specified detail message.JsonRpcConnectionException
(String message, Throwable cause) Constructs a newJsonRpcConnectionException
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
-
JsonRpcConnectionException
Constructs a newJsonRpcConnectionException
with the specified detail message.- Parameters:
message
- the detail message explaining the reason for the exception
-
JsonRpcConnectionException
Constructs a newJsonRpcConnectionException
with the specified detail message and cause.- Parameters:
message
- the detail message explaining the reason for the exceptioncause
- the cause of the exception
-