Class DruidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.druid.common.exception.DruidException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntryExistsException
@Deprecated public class DruidException extends RuntimeException
Deprecated.A generic exception thrown by Druid. This class is deprecated and should not be used.DruidException
should be used for any error that is intended to be delivered to the end user.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
HTTP_CODE_BAD_REQUEST
Deprecated.static int
HTTP_CODE_SERVER_ERROR
Deprecated.
-
Constructor Summary
Constructors Constructor Description DruidException(String message, int responseCode, Throwable cause, boolean isTransient)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getResponseCode()
Deprecated.boolean
isTransient()
Deprecated.Returns true if this is a transient exception and might go away if the operation is retried.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
HTTP_CODE_SERVER_ERROR
public static final int HTTP_CODE_SERVER_ERROR
Deprecated.- See Also:
- Constant Field Values
-
HTTP_CODE_BAD_REQUEST
public static final int HTTP_CODE_BAD_REQUEST
Deprecated.- See Also:
- Constant Field Values
-
-