public class QueryUnsupportedException extends QueryException
QueryException it is expected to be serialied to a json response, but will be mapped to
STATUS_CODE instead of the default HTTP 500 status.| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_CODE |
static int |
STATUS_CODE |
| Constructor and Description |
|---|
QueryUnsupportedException(String errorMessage) |
QueryUnsupportedException(String errorCode,
String errorMessage,
String errorClass,
String host) |
getErrorClass, getErrorCode, getHost, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ERROR_CODE
public static final int STATUS_CODE
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.