| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | QueryException(String
A message explaining the exception condition message)Constructs a QueryException using the specified exception message. |
| public | QueryException(String
A message explaining the exception condition message, Exception The underlying cause cause)Constructs a QueryException using the specified exception message and cause. |
| public | QueryException(String
A message explaining the exception condition message, String The query being evaluated when the exception occurred queryString)Constructs a QueryException using the specified exception message and query-string. |
| public | QueryException(String
A message explaining the exception condition message, String The query being evaluated when the exception occurred queryString, Exception The underlying cause cause)Constructs a QueryException using the specified exception message and query-string. |
| public | QueryException(Exception
The underlying cause cause)Constructs a QueryException using the specified cause. |
| Modifier and Type | Method and Description |
|---|---|
| protected QueryException | Returns: The generated QueryException (or subclass)The query string queryString)Called from |
| public String | getMessage()
Overrides java. |
| protected final String | |
| public String | Returns: The query stringRetrieve the query being evaluated when the exception occurred. |
| public final QueryException | Returns: this, if this has null for getQueryString(); otherwise a new
QueryException (or subclass) is returned.The query string that led to the QueryException queryString)Wraps this exception with another, of same kind, with the specified queryString. |
| queryString | back to summary |
|---|---|
| private final String queryString | |
| QueryException | back to summary |
|---|---|
| public QueryException(String message) Constructs a QueryException using the specified exception message.
| |
| QueryException | back to summary |
|---|---|
| public QueryException(String message, Exception cause) Constructs a QueryException using the specified exception message and cause. | |
| QueryException | back to summary |
|---|---|
| public QueryException(String message, String queryString) Constructs a QueryException using the specified exception message and query-string. | |
| QueryException | back to summary |
|---|---|
| public QueryException(String message, String queryString, Exception cause) Constructs a QueryException using the specified exception message and query-string. | |
| QueryException | back to summary |
|---|---|
| public QueryException(Exception cause) Constructs a QueryException using the specified cause.
| |
| generateQueryException | back to summary |
|---|---|
| protected QueryException generateQueryException(String queryString) Called from
NOTE : implementors should take care to use
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| getOriginalMessage | back to summary |
|---|---|
| protected final String getOriginalMessage() | |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() Retrieve the query being evaluated when the exception occurred. May be null, but generally should not.
| |
| wrapWithQueryString | back to summary |
|---|---|
| public final QueryException wrapWithQueryString(String queryString) Wraps this exception with another, of same kind, with the specified queryString. If this exception already
has a queryString defined, the same exception (
| |