public class QueryInterruptedException extends QueryException
| Modifier and Type | Field and Description |
|---|---|
static String |
QUERY_CANCELLED |
static String |
QUERY_INTERRUPTED |
static String |
QUERY_TIMEOUT |
static String |
RESOURCE_LIMIT_EXCEEDED |
static String |
TRUNCATED_RESPONSE_CONTEXT |
static String |
UNAUTHORIZED |
static String |
UNKNOWN_EXCEPTION |
static String |
UNSUPPORTED_OPERATION |
| Constructor and Description |
|---|
QueryInterruptedException(String errorCode,
String errorMessage,
String errorClass,
String host) |
QueryInterruptedException(Throwable cause)
Creates a new QueryInterruptedException wrapping an underlying exception.
|
QueryInterruptedException(Throwable cause,
String host) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static QueryInterruptedException |
wrapIfNeeded(Throwable e) |
getErrorClass, getErrorCode, getHost, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final String QUERY_INTERRUPTED
public static final String QUERY_TIMEOUT
public static final String QUERY_CANCELLED
public static final String RESOURCE_LIMIT_EXCEEDED
public static final String UNAUTHORIZED
public static final String UNSUPPORTED_OPERATION
public static final String TRUNCATED_RESPONSE_CONTEXT
public static final String UNKNOWN_EXCEPTION
public QueryInterruptedException(@Nullable String errorCode, String errorMessage, @Nullable String errorClass, @Nullable String host)
public QueryInterruptedException(Throwable cause)
cause - wrapped exceptionpublic static QueryInterruptedException wrapIfNeeded(Throwable e)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.