@Deprecated public class DruidException extends RuntimeException
DruidException should be used for
any error that is intended to be delivered to the end user.| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_CODE_BAD_REQUEST
Deprecated.
|
static int |
HTTP_CODE_SERVER_ERROR
Deprecated.
|
| Constructor and Description |
|---|
DruidException(String message,
int responseCode,
Throwable cause,
boolean isTransient)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getResponseCode()
Deprecated.
|
boolean |
isTransient()
Deprecated.
Returns true if this is a transient exception and might go away if the
operation is retried.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int HTTP_CODE_SERVER_ERROR
public static final int HTTP_CODE_BAD_REQUEST
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.