Package eliasstar.jsonrpc.exceptions
Class ConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eliasstar.jsonrpc.exceptions.RpcException
-
- eliasstar.jsonrpc.exceptions.ConnectionException
-
- All Implemented Interfaces:
Serializable
public final class ConnectionException extends RpcException
Indicates a failure while sending aRequest.- Since:
- 0.1.0
- Author:
- Elias*
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionException(String message)Creates aConnectionException.ConnectionException(String message, Throwable cause)Creates aConnectionException.ConnectionException(Throwable cause)Creates aConnectionException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConnectionException
public ConnectionException(String message)
Creates aConnectionException.- Parameters:
message- The error message
-
ConnectionException
public ConnectionException(Throwable cause)
Creates aConnectionException.- Parameters:
cause- TheExceptionwhich caused thisConnectionException
-
ConnectionException
public ConnectionException(String message, Throwable cause)
Creates aConnectionException.- Parameters:
message- The error messagecause- TheExceptionwhich caused thisConnectionException
-
-