org.hibernate.query.SemanticException or
org.hibernate.query.SyntaxException indicate problems with the
query itself.
API Note
This exception type should not be used to report any expected
kind of failure which could occur due to user error. It should
only be used to assert that a condition should never occur. Of
course, this exception usually occurs when a query has some sort
of error. But its occurrence indicates that the query translator
should have detected and reported that error earlier, in a more
meaningful way, via a SemanticException.
ParsingException
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | InterpretationException(String message)
Deprecated
for removal since 6.3. this constructor does not carry information
about the query which caused the failure
|
| InterpretationException | back to summary |
|---|---|
| public InterpretationException(String query, String message) | |
| InterpretationException | back to summary |
|---|---|
| public InterpretationException(String query, Exception cause) | |
| InterpretationException | back to summary |
|---|---|
| public InterpretationException(String message)
Deprecated for removal since 6.3. this constructor does not carry information about the query which caused the failure
| |