java.io.Serializablepublic class QueryValidationException extends ValidationException
| Constructor | Description |
|---|---|
QueryValidationException() |
| Modifier and Type | Method | Description |
|---|---|---|
static QueryValidationException |
addValidationError(java.lang.String queryId,
java.lang.String validationError,
QueryValidationException validationException) |
Helper method than can be used to add error messages to an existing
QueryValidationException. |
static QueryValidationException |
addValidationErrors(java.util.List<java.lang.String> validationErrors,
QueryValidationException validationException) |
Helper method than can be used to add error messages to an existing
QueryValidationException. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringaddValidationError, addValidationErrors, getMessage, validationErrorspublic static QueryValidationException addValidationError(java.lang.String queryId, java.lang.String validationError, QueryValidationException validationException)
QueryValidationException.
When passing null as the initial exception, a new exception is created.queryId - the query that caused the errorvalidationError - the error message to add to an initial exceptionvalidationException - an initial exception. Can be null, in which case a new exception is created.QueryValidationException with added validation error messagepublic static QueryValidationException addValidationErrors(java.util.List<java.lang.String> validationErrors, QueryValidationException validationException)
QueryValidationException.
When passing null as the initial exception, a new exception is created.validationErrors - the error messages to add to an initial exceptionvalidationException - an initial exception. Can be null, in which case a new exception is created.QueryValidationException with added validation error message