| Access | Constructor and Description |
|---|---|
| public | QuerySyntaxException(String
Message explaining the condition that led to the exception message)Constructs a QuerySyntaxException |
| public | QuerySyntaxException(String
Message explaining the condition that led to the exception message, String The hql query that was being parsed/analyzed hql)Constructs a QuerySyntaxException |
| protected | QuerySyntaxException(String
Message explaining the condition that led to the exception message, String The hql query that was being parsed/analyzed queryString, Exception The cause, generally another QuerySyntaxException cause)Intended for use solely from |
| Modifier and Type | Method and Description |
|---|---|
| public static QuerySyntaxException | Returns: The QuerySyntaxExceptionThe ANTLR exception e)Converts the given ANTLR RecognitionException into a QuerySyntaxException. |
| public static QuerySyntaxException | Returns: The QuerySyntaxExceptionThe ANTLR exception e, String The query string hql)Converts the given ANTLR RecognitionException into a QuerySyntaxException. |
| protected QueryException | generateQueryException(String
The query string queryString)Overrides org. wrapWithQueryString(String) when we really need to generate a new QueryException
(or subclass).
|
| QuerySyntaxException | back to summary |
|---|---|
| public QuerySyntaxException(String message) Constructs a QuerySyntaxException
| |
| QuerySyntaxException | back to summary |
|---|---|
| public QuerySyntaxException(String message, String hql) Constructs a QuerySyntaxException | |
| QuerySyntaxException | back to summary |
|---|---|
| protected QuerySyntaxException(String message, String queryString, Exception cause) Intended for use solely from | |
| convert | back to summary |
|---|---|
| public static QuerySyntaxException convert(RecognitionException e) Converts the given ANTLR RecognitionException into a QuerySyntaxException. The RecognitionException does not become the cause because ANTLR exceptions are not serializable.
| |
| convert | back to summary |
|---|---|
| public static QuerySyntaxException convert(RecognitionException e, String hql) Converts the given ANTLR RecognitionException into a QuerySyntaxException. The RecognitionException does not become the cause because ANTLR exceptions are not serializable.
| |
| generateQueryException | back to summary |
|---|---|
| protected QueryException generateQueryException(String queryString) Overrides org. Doc from org. Called from
NOTE : implementors should take care to use
| |