public class QueryParameterException extends QueryException
| Constructor and Description |
|---|
QueryParameterException(String message)
Constructs a QueryParameterException using the supplied exception message.
|
QueryParameterException(String message,
String queryString,
Exception cause)
Constructs a QueryParameterException
|
| Modifier and Type | Method and Description |
|---|---|
protected QueryException |
generateQueryException(String queryString)
Called from
QueryException.wrapWithQueryString(String) when we really need to generate a new QueryException
(or subclass). |
getMessage, getOriginalMessage, getQueryString, wrapWithQueryStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic QueryParameterException(String message)
message - The message explaining the exception conditionprotected QueryException generateQueryException(String queryString)
QueryExceptionQueryException.wrapWithQueryString(String) when we really need to generate a new QueryException
(or subclass).
NOTE : implementors should take care to use QueryException.getOriginalMessage() for the message, not
QueryException.getMessage()generateQueryException in class QueryExceptionqueryString - The query stringQueryException.getOriginalMessage()Copyright © 2017 JBoss by Red Hat. All rights reserved.