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:
Serializable
public class SessionLoaderException extends EclipseLinkException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
COULD_NOT_FIND_PROJECT_XML
static int
FAILED_TO_LOAD_PROJECT_XML
static int
FINAL_EXCEPTION
static int
INVALID_SESSION_XML
static int
NON_PARSE_EXCEPTION
static int
SERVER_PLATFORM_NO_LONGER_SUPPORTED
static int
UN_EXPECTED_VALUE_OF_TAG
static int
UNABLE_TO_LOAD_PROJECT_CLASS
static int
UNABLE_TO_PARSE_XML
static int
UNABLE_TO_PROCESS_TAG
static int
UNKNOWN_ATTRIBUTE_OF_TAG
static int
UNKNOWN_TAG
static int
XML_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.protected
SessionLoaderException(String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.protected
SessionLoaderException(String message, Throwable internalException)
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
Method Summary
-
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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
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(String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
-
Method Detail
-
couldNotFindProjectXml
public static SessionLoaderException couldNotFindProjectXml(String fileName)
-
unkownTagAtNode
public static SessionLoaderException unkownTagAtNode(String tagName, String nodeName, Throwable exception)
-
failedToLoadProjectClass
public static SessionLoaderException failedToLoadProjectClass(String className, Throwable exception)
-
failedToLoadProjectXml
public static SessionLoaderException failedToLoadProjectXml(String fileName, Throwable exception)
-
failedToLoadTag
public static SessionLoaderException failedToLoadTag(String parentNode, String nodeValue, Throwable exception)
-
finalException
public static SessionLoaderException finalException(Vector exceptionList)
-
failedToParseXML
public static SessionLoaderException failedToParseXML(String message, int lineNumber, int columnNumber, Throwable exception)
-
failedToParseXML
public static SessionLoaderException failedToParseXML(String message, Throwable exception)
-
nonParseException
public static SessionLoaderException nonParseException(Throwable exception)
-
unexpectedValueOfTag
public static SessionLoaderException unexpectedValueOfTag(String nodeValue, String parentNode)
-
unknownAttributeOfTag
public static SessionLoaderException unknownAttributeOfTag(String nodeName)
-
serverPlatformNoLongerSupported
public static SessionLoaderException serverPlatformNoLongerSupported(String serverPlatformClassName)
-
InvalidSessionXML
public static SessionLoaderException InvalidSessionXML()
-
printStackTrace
public void printStackTrace(PrintWriter writer)
PUBLIC: Iterate through the exception list printing out the stack traces.- Overrides:
printStackTrace
in classEclipseLinkException
-
toString
public String toString()
Description copied from class:EclipseLinkException
INTERNAL:- Overrides:
toString
in classEclipseLinkException
-
-