oracle.toplink.exceptions
Class EJBQLException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--oracle.toplink.exceptions.TopLinkException
|
+--oracle.toplink.exceptions.EJBQLException
- All Implemented Interfaces:
- java.io.Serializable
- public class EJBQLException
- extends TopLinkException
Purpose: EJBQL parsing and resolution problems will raise this exception
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
recognitionException
public static final int recognitionException
generalParsingException
public static final int generalParsingException
classNotFoundException
public static final int classNotFoundException
aliasResolutionException
public static final int aliasResolutionException
resolutionClassNotFoundException
public static final int resolutionClassNotFoundException
missingDescriptorException
public static final int missingDescriptorException
missingMappingException
public static final int missingMappingException
invalidContextKeyException
public static final int invalidContextKeyException
expressionNotSupported
public static final int expressionNotSupported
internalExceptions
public java.util.Vector internalExceptions
recognitionException
public static EJBQLException recognitionException(java.lang.String theEjbql,
java.lang.String theMessage)
- INTERNAL
Create an exception to wrap the recognition exception thrown
generalParsingException
public static EJBQLException generalParsingException(java.lang.String theEjbql,
java.lang.Exception theException)
- INTERNAL
Create an exception to wrap a general parsing exception
classNotFoundException
public static EJBQLException classNotFoundException(java.lang.String theClassName,
java.lang.String theMessage,
java.lang.Exception theException)
resolutionClassNotFoundException
public static EJBQLException resolutionClassNotFoundException(java.lang.String theClassName)
missingDescriptorException
public static EJBQLException missingDescriptorException(java.lang.String theClassName)
missingMappingException
public static EJBQLException missingMappingException(java.lang.String theAttributeName)
aliasResolutionException
public static EJBQLException aliasResolutionException(java.lang.String theAlias)
invalidContextKeyException
public static EJBQLException invalidContextKeyException(java.lang.String theKey)
expressionNotSupported
public static EJBQLException expressionNotSupported(java.lang.String unsupportedExpression)
addInternalException
public java.lang.Object addInternalException(java.lang.Object theException)
- INTERNAL
Add an internal Exception to the collection of
internal Exceptions
hasInternalExceptions
public boolean hasInternalExceptions()
- INTERNAL
Does this exception have any internal errors?
getInternalExceptions
public java.util.Vector getInternalExceptions()
- INTERNAL
Return the collection of internal Exceptions.
Intialize if there are no exceptions
setInternalExceptions
public void setInternalExceptions(java.util.Vector theExceptions)
- INTERNAL
Store the exceptions related to this exception
printFullStackTrace
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