Package com.exasol.bucketfs.jsonrpc
Class JsonRpcException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.exasol.bucketfs.jsonrpc.JsonRpcException
-
- All Implemented Interfaces:
Serializable
public class JsonRpcException extends RuntimeException
RuntimeExceptionthat is thrown in case execution of anRpcCommandfails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonRpcException(String message)Create a new instance of aJsonRpcException.JsonRpcException(String message, Throwable cause)Create a new instance of aJsonRpcException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JsonRpcException
public JsonRpcException(String message, Throwable cause)
Create a new instance of aJsonRpcException.- Parameters:
message- error messagecause- exception that caused this one
-
JsonRpcException
public JsonRpcException(String message)
Create a new instance of aJsonRpcException.- Parameters:
message- error message
-
-