oracle.toplink.exceptions
Class SessionLoaderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.toplink.exceptions.TopLinkException
                          |
                          +--oracle.toplink.exceptions.SessionLoaderException
All Implemented Interfaces:
java.io.Serializable

public class SessionLoaderException
extends TopLinkException

See Also:
Serialized Form

Field Summary
TypeField
static int COULD_NOT_FIND_PROJECT_XML
           
static int FAILED_TO_LOAD_PROJECT_XML
           
static int FINAL_EXCEPTION
           
static int UNABLE_TO_LOAD_PROJECT_CLASS
           
static int UNABLE_TO_PARSE_XML
           
static int UNABLE_TO_PROCESS_TAG
           
static int UNKNOWN_TAG
           
 
Constructor Summary
 
Method Summary
TypeMethod
static SessionLoaderException couldNotFindProjectXml(java.lang.String fileName)
           
static SessionLoaderException failedToLoadProjectClass(java.lang.String className, java.lang.Throwable exception)
           
static SessionLoaderException failedToLoadProjectXml(java.lang.String fileName, java.lang.Throwable exception)
           
static SessionLoaderException failedToLoadTag(java.lang.String parentNode, java.lang.String nodeValue, java.lang.Throwable exception)
           
static SessionLoaderException failedToParseXML(java.lang.String message, int lineNumber, int columnNumber, java.lang.Throwable exception)
           
static SessionLoaderException finalException(java.util.Vector exceptionList)
           
 java.util.Vector getExceptionList()
           
 void printStackTrace(java.io.PrintWriter writer)
          PUBLIC: Iterate through the exception list printing out the stack traces.
 void setExceptionList(java.util.Vector list)
           
static SessionLoaderException unkownTagAtNode(java.lang.String tagName, java.lang.String nodeName, java.lang.Throwable exception)
           
 
Methods inherited from class oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getMessage, getSession, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FINAL_EXCEPTION

public static final int FINAL_EXCEPTION

UNKNOWN_TAG

public static final int UNKNOWN_TAG

UNABLE_TO_LOAD_PROJECT_CLASS

public static final int UNABLE_TO_LOAD_PROJECT_CLASS

UNABLE_TO_PROCESS_TAG

public static final int UNABLE_TO_PROCESS_TAG

COULD_NOT_FIND_PROJECT_XML

public static final int COULD_NOT_FIND_PROJECT_XML

FAILED_TO_LOAD_PROJECT_XML

public static final int FAILED_TO_LOAD_PROJECT_XML

UNABLE_TO_PARSE_XML

public static final int UNABLE_TO_PARSE_XML
Constructor Detail
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)

setExceptionList

public void setExceptionList(java.util.Vector list)

getExceptionList

public java.util.Vector getExceptionList()

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
PUBLIC: Iterate through the exception list printing out the stack traces.
Overrides:
printStackTrace in class TopLinkException

toString

public java.lang.String toString()
Description copied from class: TopLinkException
INTERNAL:
Overrides:
toString in class TopLinkException