Class SessionLoaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.exceptions.SessionLoaderException
-
- All Implemented Interfaces:
java.io.Serializable
public class SessionLoaderException extends EclipseLinkException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCOULD_NOT_FIND_PROJECT_XMLstatic intFAILED_TO_LOAD_PROJECT_XMLstatic intFINAL_EXCEPTIONstatic intINVALID_SESSION_XMLstatic intNON_PARSE_EXCEPTIONstatic intSERVER_PLATFORM_NO_LONGER_SUPPORTEDstatic intUN_EXPECTED_VALUE_OF_TAGstatic intUNABLE_TO_LOAD_PROJECT_CLASSstatic intUNABLE_TO_PARSE_XMLstatic intUNABLE_TO_PROCESS_TAGstatic intUNKNOWN_ATTRIBUTE_OF_TAGstatic intUNKNOWN_TAGstatic intXML_SCHEMA_PARSING_ERROR-
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
-
Constructor Summary
Constructors Modifier Constructor Description SessionLoaderException()INTERNAL: TopLink exceptions should only be thrown by TopLink.protectedSessionLoaderException(java.lang.String message)INTERNAL: TopLink exceptions should only be thrown by TopLink.protectedSessionLoaderException(java.lang.String message, java.lang.Throwable internalException)INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionLoaderExceptioncouldNotFindProjectXml(java.lang.String fileName)static SessionLoaderExceptionfailedToLoadProjectClass(java.lang.String className, java.lang.Throwable exception)static SessionLoaderExceptionfailedToLoadProjectXml(java.lang.String fileName, java.lang.Throwable exception)static SessionLoaderExceptionfailedToLoadTag(java.lang.String parentNode, java.lang.String nodeValue, java.lang.Throwable exception)static SessionLoaderExceptionfailedToParseXML(java.lang.String message, int lineNumber, int columnNumber, java.lang.Throwable exception)static SessionLoaderExceptionfailedToParseXML(java.lang.String message, java.lang.Throwable exception)static SessionLoaderExceptionfinalException(java.util.Vector exceptionList)java.util.Vector<java.lang.Throwable>getExceptionList()static SessionLoaderExceptionInvalidSessionXML()static SessionLoaderExceptionnonParseException(java.lang.Throwable exception)voidprintStackTrace(java.io.PrintWriter writer)PUBLIC: Iterate through the exception list printing out the stack traces.static SessionLoaderExceptionserverPlatformNoLongerSupported(java.lang.String serverPlatformClassName)voidsetExceptionList(java.util.Vector<java.lang.Throwable> list)java.lang.StringtoString()INTERNAL:static SessionLoaderExceptionunexpectedValueOfTag(java.lang.String nodeValue, java.lang.String parentNode)static SessionLoaderExceptionunknownAttributeOfTag(java.lang.String nodeName)static SessionLoaderExceptionunkownTagAtNode(java.lang.String tagName, java.lang.String nodeName, java.lang.Throwable exception)-
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException
-
-
-
-
Field Detail
-
FINAL_EXCEPTION
public static final int FINAL_EXCEPTION
- See Also:
- Constant Field Values
-
UNKNOWN_TAG
public static final int UNKNOWN_TAG
- See Also:
- Constant Field Values
-
UNABLE_TO_LOAD_PROJECT_CLASS
public static final int UNABLE_TO_LOAD_PROJECT_CLASS
- See Also:
- Constant Field Values
-
UNABLE_TO_PROCESS_TAG
public static final int UNABLE_TO_PROCESS_TAG
- See Also:
- Constant Field Values
-
COULD_NOT_FIND_PROJECT_XML
public static final int COULD_NOT_FIND_PROJECT_XML
- See Also:
- Constant Field Values
-
FAILED_TO_LOAD_PROJECT_XML
public static final int FAILED_TO_LOAD_PROJECT_XML
- See Also:
- Constant Field Values
-
UNABLE_TO_PARSE_XML
public static final int UNABLE_TO_PARSE_XML
- See Also:
- Constant Field Values
-
NON_PARSE_EXCEPTION
public static final int NON_PARSE_EXCEPTION
- See Also:
- Constant Field Values
-
UN_EXPECTED_VALUE_OF_TAG
public static final int UN_EXPECTED_VALUE_OF_TAG
- See Also:
- Constant Field Values
-
UNKNOWN_ATTRIBUTE_OF_TAG
public static final int UNKNOWN_ATTRIBUTE_OF_TAG
- See Also:
- Constant Field Values
-
XML_SCHEMA_PARSING_ERROR
public static final int XML_SCHEMA_PARSING_ERROR
- See Also:
- Constant Field Values
-
SERVER_PLATFORM_NO_LONGER_SUPPORTED
public static final int SERVER_PLATFORM_NO_LONGER_SUPPORTED
- See Also:
- Constant Field Values
-
INVALID_SESSION_XML
public static final int INVALID_SESSION_XML
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SessionLoaderException
public SessionLoaderException()
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
SessionLoaderException
protected SessionLoaderException(java.lang.String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
SessionLoaderException
protected SessionLoaderException(java.lang.String message, java.lang.Throwable internalException)INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
-
Method Detail
-
couldNotFindProjectXml
public static SessionLoaderException couldNotFindProjectXml(java.lang.String fileName)
-
unkownTagAtNode
public static SessionLoaderException unkownTagAtNode(java.lang.String tagName, java.lang.String nodeName, java.lang.Throwable exception)
-
failedToLoadProjectClass
public static SessionLoaderException failedToLoadProjectClass(java.lang.String className, java.lang.Throwable exception)
-
failedToLoadProjectXml
public static SessionLoaderException failedToLoadProjectXml(java.lang.String fileName, java.lang.Throwable exception)
-
failedToLoadTag
public static SessionLoaderException failedToLoadTag(java.lang.String parentNode, java.lang.String nodeValue, java.lang.Throwable exception)
-
finalException
public static SessionLoaderException finalException(java.util.Vector exceptionList)
-
failedToParseXML
public static SessionLoaderException failedToParseXML(java.lang.String message, int lineNumber, int columnNumber, java.lang.Throwable exception)
-
failedToParseXML
public static SessionLoaderException failedToParseXML(java.lang.String message, java.lang.Throwable exception)
-
nonParseException
public static SessionLoaderException nonParseException(java.lang.Throwable exception)
-
unexpectedValueOfTag
public static SessionLoaderException unexpectedValueOfTag(java.lang.String nodeValue, java.lang.String parentNode)
-
unknownAttributeOfTag
public static SessionLoaderException unknownAttributeOfTag(java.lang.String nodeName)
-
serverPlatformNoLongerSupported
public static SessionLoaderException serverPlatformNoLongerSupported(java.lang.String serverPlatformClassName)
-
InvalidSessionXML
public static SessionLoaderException InvalidSessionXML()
-
setExceptionList
public void setExceptionList(java.util.Vector<java.lang.Throwable> list)
-
getExceptionList
public java.util.Vector<java.lang.Throwable> getExceptionList()
-
printStackTrace
public void printStackTrace(java.io.PrintWriter writer)
PUBLIC: Iterate through the exception list printing out the stack traces.- Overrides:
printStackTracein classEclipseLinkException
-
toString
public java.lang.String toString()
Description copied from class:EclipseLinkExceptionINTERNAL:- Overrides:
toStringin classEclipseLinkException
-
-