Package org.apache.druid.rpc
Class RpcException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.druid.rpc.RpcException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpResponseException,ServiceClosedException,ServiceNotAvailableException
public class RpcException extends IOException
Returned byServiceClient.asyncRequest(org.apache.druid.rpc.RequestBuilder, org.apache.druid.java.util.http.client.response.HttpResponseHandler<IntermediateType, FinalType>)when a request has failed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RpcException(String formatText, Object... arguments)RpcException(Throwable cause, String formatText, Object... arguments)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-