public class ResourceLimitExceededException extends BadQueryException
BadQueryException because it likely indicates a user's misbehavior when this exception is thrown.
The resource limitations set by Druid cluster operators are typically less flexible than the parameters of
a user query, so when a user query requires too many resources, the likely remedy is that the user query
should be modified to use fewer resources, or to reduce query volume.| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_CODE |
STATUS_CODE| Constructor and Description |
|---|
ResourceLimitExceededException(String message) |
ResourceLimitExceededException(String errorCode,
String message,
String errorClass,
String host) |
| Modifier and Type | Method and Description |
|---|---|
static ResourceLimitExceededException |
withMessage(String message,
Object... arguments) |
getErrorClass, getErrorCode, getHost, getMessage, resolveHostnameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ERROR_CODE
public ResourceLimitExceededException(String errorCode, String message, String errorClass, String host)
public ResourceLimitExceededException(String message)
public static ResourceLimitExceededException withMessage(String message, Object... arguments)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.