Purpose: EJBQL parsing and resolution problems will raise this exception
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public Collection | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | JPQLException(String message, Exception internalException)
INTERNAL Only TopLink can throw and create these excpetions |
| protected | JPQLException(String message, Exception internalException, int theErrorCode)
INTERNAL Only TopLink can throw and create these excpetions |
| Modifier and Type | Method and Description |
|---|---|
| public Object | addInternalException(Object theException)
INTERNAL Add an internal Exception to the collection of internal Exceptions |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | entityTypeNotFound(String query, String type)
Indicates that a type specified in a JPQL query string cannot be found in the current persistence unit. |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | generalParsingException(String theEjbql, Exception theException)
INTERNAL Create an exception to wrap a general parsing exception |
| public static JPQLException | generalParsingException(String theEjbql)
INTERNAL Create an exception to wrap a general parsing exception |
| public Collection | |
| public boolean | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | invalidExpressionArgument(String query, int line, int column, String expression, String attributeName, String type)
|
| public static JPQLException | invalidFunctionArgument(String query, int line, int column, String functionName, String attributeName, String type)
|
| public static JPQLException | |
| public static JPQLException | invalidMultipleUseOfSameParameter(String query, int line, int column, String parameter, String oldType, String newType)
|
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public void | |
| public static JPQLException | recognitionException(String theEjbql, String theMessage)
INTERNAL Create an exception to wrap the recognition exception thrown |
| public static JPQLException | |
| public static JPQLException | |
| public void | setInternalExceptions(Collection<E> theExceptions)
INTERNAL Store the exceptions related to this exception |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException | |
| public static JPQLException |
| aliasResolutionException | back to summary |
|---|---|
| public static final int aliasResolutionException | |
| classNotFoundException | back to summary |
|---|---|
| public static final int classNotFoundException | |
| constructorClassNotFound | back to summary |
|---|---|
| public static final int constructorClassNotFound | |
| entityTypeNotFound | back to summary |
|---|---|
| public static final int entityTypeNotFound | |
| entityTypeNotFound2 | back to summary |
|---|---|
| public static final int entityTypeNotFound2 | |
| expectedCharFound | back to summary |
|---|---|
| public static final int expectedCharFound | |
| expectedOrderableOrderByItem | back to summary |
|---|---|
| public static final int expectedOrderableOrderByItem | |
| expressionNotSupported | back to summary |
|---|---|
| public static final int expressionNotSupported | |
| generalParsingException | back to summary |
|---|---|
| public static final int generalParsingException | |
| generalParsingException2 | back to summary |
|---|---|
| public static final int generalParsingException2 | |
| indexOnlyAllowedOnVariable | back to summary |
|---|---|
| public static final int indexOnlyAllowedOnVariable | |
| internalExceptions | back to summary |
|---|---|
| public Collection<E> internalExceptions | |
| invalidCollectionMemberDecl | back to summary |
|---|---|
| public static final int invalidCollectionMemberDecl | |
| invalidCollectionNavigation | back to summary |
|---|---|
| public static final int invalidCollectionNavigation | |
| invalidContextKeyException | back to summary |
|---|---|
| public static final int invalidContextKeyException | |
| invalidEnumEqualExpression | back to summary |
|---|---|
| public static final int invalidEnumEqualExpression | |
| invalidEnumLiteral | back to summary |
|---|---|
| public static final int invalidEnumLiteral | |
| invalidExpressionArgument | back to summary |
|---|---|
| public static final int invalidExpressionArgument | |
| invalidFunctionArgument | back to summary |
|---|---|
| public static final int invalidFunctionArgument | |
| invalidHavingExpression | back to summary |
|---|---|
| public static final int invalidHavingExpression | |
| invalidMultipleUseOfSameParameter | back to summary |
|---|---|
| public static final int invalidMultipleUseOfSameParameter | |
| invalidNavigation | back to summary |
|---|---|
| public static final int invalidNavigation | |
| invalidSelectForGroupByQuery | back to summary |
|---|---|
| public static final int invalidSelectForGroupByQuery | |
| invalidSetClauseNavigation | back to summary |
|---|---|
| public static final int invalidSetClauseNavigation | |
| invalidSetClauseTarget | back to summary |
|---|---|
| public static final int invalidSetClauseTarget | |
| invalidSizeArgument | back to summary |
|---|---|
| public static final int invalidSizeArgument | |
| missingDescriptorException | back to summary |
|---|---|
| public static final int missingDescriptorException | |
| missingMappingException | back to summary |
|---|---|
| public static final int missingMappingException | |
| multipleVariableDeclaration | back to summary |
|---|---|
| public static final int multipleVariableDeclaration | |
| nonExistantOrderByAlias | back to summary |
|---|---|
| public static final int nonExistantOrderByAlias | |
| notYetImplemented | back to summary |
|---|---|
| public static final int notYetImplemented | |
| recognitionException | back to summary |
|---|---|
| public static final int recognitionException | |
| resolutionClassNotFoundException | back to summary |
|---|---|
| public static final int resolutionClassNotFoundException | |
| resolutionClassNotFoundException2 | back to summary |
|---|---|
| public static final int resolutionClassNotFoundException2 | |
| syntaxError | back to summary |
|---|---|
| public static final int syntaxError | |
| syntaxErrorAt | back to summary |
|---|---|
| public static final int syntaxErrorAt | |
| unexpectedChar | back to summary |
|---|---|
| public static final int unexpectedChar | |
| unexpectedEOF | back to summary |
|---|---|
| public static final int unexpectedEOF | |
| unexpectedToken | back to summary |
|---|---|
| public static final int unexpectedToken | |
| unknownAttribute | back to summary |
|---|---|
| public static final int unknownAttribute | |
| unsupportJoinArgument | back to summary |
|---|---|
| public static final int unsupportJoinArgument | |
| variableCannotHaveMapKey | back to summary |
|---|---|
| public static final int variableCannotHaveMapKey | |
| JPQLException | back to summary |
|---|---|
| protected JPQLException() INTERNAL Only TopLink can throw and create these excpetions | |
| JPQLException | back to summary |
|---|---|
| public JPQLException(String theMessage) INTERNAL Only TopLink can throw and create these excpetions | |
| JPQLException | back to summary |
|---|---|
| public JPQLException(String message, Exception internalException) INTERNAL Only TopLink can throw and create these excpetions | |
| JPQLException | back to summary |
|---|---|
| protected JPQLException(String message, Exception internalException, int theErrorCode) INTERNAL Only TopLink can throw and create these excpetions | |
| addInternalException | back to summary |
|---|---|
| public Object addInternalException(Object theException) INTERNAL Add an internal Exception to the collection of internal Exceptions | |
| aliasResolutionException | back to summary |
|---|---|
| public static JPQLException aliasResolutionException(String query, int line, int column, String theAlias) | |
| classNotFoundException | back to summary |
|---|---|
| public static JPQLException classNotFoundException(String theClassName, String theMessage, Exception theException) | |
| constructorClassNotFound | back to summary |
|---|---|
| public static JPQLException constructorClassNotFound(String query, int line, int column, String className) | |
| entityTypeNotFound | back to summary |
|---|---|
| public static JPQLException entityTypeNotFound(String query, String type)
Indicates that a type specified in a JPQL query string cannot be found in the current persistence unit. Ensure that the entity name is properly spelled and matches the name of an entity in the persistence unit being used. | |
| entityTypeNotFound2 | back to summary |
|---|---|
| public static JPQLException entityTypeNotFound2(String query, int line, int column, String type) | |
| expectedCharFound | back to summary |
|---|---|
| public static JPQLException expectedCharFound(String query, int line, int column, String expected, String found, Exception ex) | |
| expectedOrderableOrderByItem | back to summary |
|---|---|
| public static JPQLException expectedOrderableOrderByItem(String query, int line, int column, String item, String type) | |
| expressionNotSupported | back to summary |
|---|---|
| public static JPQLException expressionNotSupported(String query, String unsupportedExpression) | |
| generalParsingException | back to summary |
|---|---|
| public static JPQLException generalParsingException(String theEjbql, Exception theException) INTERNAL Create an exception to wrap a general parsing exception | |
| generalParsingException | back to summary |
|---|---|
| public static JPQLException generalParsingException(String theEjbql) INTERNAL Create an exception to wrap a general parsing exception | |
| getInternalExceptions | back to summary |
|---|---|
| public Collection INTERNAL Return the collection of internal Exceptions. Intialize if there are no exceptions | |
| hasInternalExceptions | back to summary |
|---|---|
| public boolean hasInternalExceptions() INTERNAL Does this exception have any internal errors? | |
| indexOnlyAllowedOnVariable | back to summary |
|---|---|
| public static JPQLException indexOnlyAllowedOnVariable(String query, int line, int column, String node) | |
| invalidCollectionMemberDecl | back to summary |
|---|---|
| public static JPQLException invalidCollectionMemberDecl(String query, int line, int column, String attributeName) | |
| invalidCollectionNavigation | back to summary |
|---|---|
| public static JPQLException invalidCollectionNavigation(String query, int line, int column, String expr, String attribute) | |
| invalidContextKeyException | back to summary |
|---|---|
| public static JPQLException invalidContextKeyException(String query, String theKey) | |
| invalidEnumEqualExpression | back to summary |
|---|---|
| public static JPQLException invalidEnumEqualExpression(String query, int line, int column, String enumType, String type) | |
| invalidEnumLiteral | back to summary |
|---|---|
| public static JPQLException invalidEnumLiteral(String query, int line, int column, String enumType, String literal) | |
| invalidExpressionArgument | back to summary |
|---|---|
| public static JPQLException invalidExpressionArgument(String query, int line, int column, String expression, String attributeName, String type) | |
| invalidFunctionArgument | back to summary |
|---|---|
| public static JPQLException invalidFunctionArgument(String query, int line, int column, String functionName, String attributeName, String type) | |
| invalidHavingExpression | back to summary |
|---|---|
| public static JPQLException invalidHavingExpression(String query, int line, int column, String having, String groupBy) | |
| invalidMultipleUseOfSameParameter | back to summary |
|---|---|
| public static JPQLException invalidMultipleUseOfSameParameter(String query, int line, int column, String parameter, String oldType, String newType) | |
| invalidNavigation | back to summary |
|---|---|
| public static JPQLException invalidNavigation(String query, int line, int column, String expr, String lhs, String type) | |
| invalidSelectForGroupByQuery | back to summary |
|---|---|
| public static JPQLException invalidSelectForGroupByQuery(String query, int line, int column, String select, String groupBy) | |
| invalidSetClauseNavigation | back to summary |
|---|---|
| public static JPQLException invalidSetClauseNavigation(String query, int line, int column, String expr, String relationship) | |
| invalidSetClauseTarget | back to summary |
|---|---|
| public static JPQLException invalidSetClauseTarget(String query, int line, int column, String expr, String attribute) | |
| invalidSizeArgument | back to summary |
|---|---|
| public static JPQLException invalidSizeArgument(String query, int line, int column, String attributeName) | |
| missingDescriptorException | back to summary |
|---|---|
| public static JPQLException missingDescriptorException(String query, String theClassName) | |
| missingMappingException | back to summary |
|---|---|
| public static JPQLException missingMappingException(String query, String theAttributeName) | |
| multipleVariableDeclaration | back to summary |
|---|---|
| public static JPQLException multipleVariableDeclaration(String query, int line, int column, String variable, String oldDecl) | |
| nonExistantOrderByAlias | back to summary |
|---|---|
| public static JPQLException nonExistantOrderByAlias(String query, int line, int column, String alias) | |
| notYetImplemented | back to summary |
|---|---|
| public static JPQLException notYetImplemented(String query, String detail) | |
| printFullStackTrace | back to summary |
|---|---|
| public void printFullStackTrace() PUBLIC Print the stack trace for each error generated by the parser. This method is intended to assist in debugging problems in EJBQL | |
| recognitionException | back to summary |
|---|---|
| public static JPQLException recognitionException(String theEjbql, String theMessage) INTERNAL Create an exception to wrap the recognition exception thrown | |
| resolutionClassNotFoundException | back to summary |
|---|---|
| public static JPQLException resolutionClassNotFoundException(String query, String theClassName) | |
| resolutionClassNotFoundException2 | back to summary |
|---|---|
| public static JPQLException resolutionClassNotFoundException2(String query, int line, int column, String theClassName) | |
| setInternalExceptions | back to summary |
|---|---|
| public void setInternalExceptions(Collection<E> theExceptions) INTERNAL Store the exceptions related to this exception | |
| syntaxError | back to summary |
|---|---|
| public static JPQLException syntaxError(String query, Exception ex) | |
| syntaxErrorAt | back to summary |
|---|---|
| public static JPQLException syntaxErrorAt(String query, int line, int column, String token, Exception ex) | |
| unexpectedChar | back to summary |
|---|---|
| public static JPQLException unexpectedChar(String query, int line, int column, String unexpected, Exception ex) | |
| unexpectedEOF | back to summary |
|---|---|
| public static JPQLException unexpectedEOF(String query, int line, int column, Exception ex) | |
| unexpectedToken | back to summary |
|---|---|
| public static JPQLException unexpectedToken(String query, int line, int column, String token, Exception ex) | |
| unknownAttribute | back to summary |
|---|---|
| public static JPQLException unknownAttribute(String query, int line, int column, String attribute, String type) | |
| unsupportJoinArgument | back to summary |
|---|---|
| public static JPQLException unsupportJoinArgument(String query, int line, int column, String join, String type) | |
| variableCannotHaveMapKey | back to summary |
|---|---|
| public static JPQLException variableCannotHaveMapKey(String query, int line, int column, String name) | |