Module org.eclipse.persistence.core
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException -
Constructor Summary
ConstructorsModifierConstructorDescriptionINTERNAL: TopLink exceptions should only be thrown by TopLink.protectedSessionLoaderException(String message) INTERNAL: TopLink exceptions should only be thrown by TopLink.protectedSessionLoaderException(String message, Throwable internalException) INTERNAL: TopLink exceptions should only be thrown by TopLink. -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionLoaderExceptioncouldNotFindProjectXml(String fileName) static SessionLoaderExceptionfailedToLoadProjectClass(String className, Throwable exception) static SessionLoaderExceptionfailedToLoadProjectXml(String fileName, Throwable exception) static SessionLoaderExceptionfailedToLoadTag(String parentNode, String nodeValue, Throwable exception) static SessionLoaderExceptionfailedToParseXML(String message, int lineNumber, int columnNumber, Throwable exception) static SessionLoaderExceptionfailedToParseXML(String message, Throwable exception) static SessionLoaderExceptionfinalException(Vector exceptionList) static SessionLoaderExceptionstatic SessionLoaderExceptionnonParseException(Throwable exception) voidprintStackTrace(PrintWriter writer) PUBLIC: Iterate through the exception list printing out the stack traces.static SessionLoaderExceptionserverPlatformNoLongerSupported(String serverPlatformClassName) voidsetExceptionList(Vector<Throwable> list) toString()INTERNAL:static SessionLoaderExceptionunexpectedValueOfTag(String nodeValue, String parentNode) static SessionLoaderExceptionunknownAttributeOfTag(String nodeName) static SessionLoaderExceptionunkownTagAtNode(String tagName, String nodeName, 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, shouldPrintInternalExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
FINAL_EXCEPTION
public static final int FINAL_EXCEPTION- See Also:
-
UNKNOWN_TAG
public static final int UNKNOWN_TAG- See Also:
-
UNABLE_TO_LOAD_PROJECT_CLASS
public static final int UNABLE_TO_LOAD_PROJECT_CLASS- See Also:
-
UNABLE_TO_PROCESS_TAG
public static final int UNABLE_TO_PROCESS_TAG- See Also:
-
COULD_NOT_FIND_PROJECT_XML
public static final int COULD_NOT_FIND_PROJECT_XML- See Also:
-
FAILED_TO_LOAD_PROJECT_XML
public static final int FAILED_TO_LOAD_PROJECT_XML- See Also:
-
UNABLE_TO_PARSE_XML
public static final int UNABLE_TO_PARSE_XML- See Also:
-
NON_PARSE_EXCEPTION
public static final int NON_PARSE_EXCEPTION- See Also:
-
UN_EXPECTED_VALUE_OF_TAG
public static final int UN_EXPECTED_VALUE_OF_TAG- See Also:
-
UNKNOWN_ATTRIBUTE_OF_TAG
public static final int UNKNOWN_ATTRIBUTE_OF_TAG- See Also:
-
XML_SCHEMA_PARSING_ERROR
public static final int XML_SCHEMA_PARSING_ERROR- See Also:
-
SERVER_PLATFORM_NO_LONGER_SUPPORTED
public static final int SERVER_PLATFORM_NO_LONGER_SUPPORTED- See Also:
-
INVALID_SESSION_XML
public static final int INVALID_SESSION_XML- See Also:
-
-
Constructor Details
-
SessionLoaderException
public SessionLoaderException()INTERNAL: TopLink exceptions should only be thrown by TopLink. -
SessionLoaderException
INTERNAL: TopLink exceptions should only be thrown by TopLink. -
SessionLoaderException
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
-
Method Details
-
couldNotFindProjectXml
-
unkownTagAtNode
public static SessionLoaderException unkownTagAtNode(String tagName, String nodeName, Throwable exception) -
failedToLoadProjectClass
public static SessionLoaderException failedToLoadProjectClass(String className, Throwable exception) -
failedToLoadProjectXml
-
failedToLoadTag
public static SessionLoaderException failedToLoadTag(String parentNode, String nodeValue, Throwable exception) -
finalException
-
failedToParseXML
public static SessionLoaderException failedToParseXML(String message, int lineNumber, int columnNumber, Throwable exception) -
failedToParseXML
-
nonParseException
-
unexpectedValueOfTag
-
unknownAttributeOfTag
-
serverPlatformNoLongerSupported
public static SessionLoaderException serverPlatformNoLongerSupported(String serverPlatformClassName) -
InvalidSessionXML
-
setExceptionList
-
getExceptionList
-
printStackTrace
PUBLIC: Iterate through the exception list printing out the stack traces.- Overrides:
printStackTracein classEclipseLinkException
-
toString
Description copied from class:EclipseLinkExceptionINTERNAL:- Overrides:
toStringin classEclipseLinkException
-