Package org.apache.drill.exec.rpc
Class RpcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.drill.common.exceptions.DrillIOException
org.apache.drill.exec.rpc.RpcException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChannelClosedException
,NonTransientRpcException
,UserRpcException
Parent class for all rpc exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionRpcException
(String message) RpcException
(String message, Throwable cause) RpcException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isRemote()
static RpcException
mapException
(String message, Throwable t) static RpcException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RpcException
public RpcException() -
RpcException
-
RpcException
-
RpcException
-
-
Method Details
-
mapException
-
mapException
-
isRemote
public boolean isRemote() -
getRemoteError
-