public class QueryParameterException extends QueryException
| Constructor and Description |
|---|
QueryParameterException(java.lang.String message)
Constructs a QueryParameterException using the supplied exception message.
|
QueryParameterException(java.lang.String message,
java.lang.String queryString,
java.lang.Exception cause)
Constructs a QueryParameterException
|
| Modifier and Type | Method and Description |
|---|---|
protected QueryException |
generateQueryException(java.lang.String queryString)
Called from
QueryException.wrapWithQueryString(String) when we really need to generate a new QueryException
(or subclass). |
getMessage, getOriginalMessage, getQueryString, wrapWithQueryStringpublic QueryParameterException(java.lang.String message)
message - The message explaining the exception conditionpublic QueryParameterException(java.lang.String message,
java.lang.String queryString,
java.lang.Exception cause)
message - The message explaining the exception conditionqueryString - The query that led to the exceptioncause - The underlying causeprotected QueryException generateQueryException(java.lang.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 © 2001-2018 Red Hat, Inc. All Rights Reserved.