EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.exceptions
Class XMLParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.XMLParseException
All Implemented Interfaces:
java.io.Serializable

public class XMLParseException
extends EclipseLinkException

See Also:
Serialized Form

Field Summary
static int EXCEPTION_CREATING_DOCUMENT_BUILDER
           
static int EXCEPTION_CREATING_SAX_PARSER
           
static int EXCEPTION_CREATING_XML_READER
           
static int EXCEPTION_READING_XML_DOCUMENT
           
static int EXCEPTION_SETTING_SCHEMA_SOURCE
           
 
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
 
Constructor Summary
  XMLParseException()
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
protected XMLParseException(java.lang.String message)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
protected XMLParseException(java.lang.String message, java.lang.Throwable internalException)
          INTERNAL: TopLink exceptions should only be thrown by TopLink.
 
Method Summary
static XMLParseException exceptionCreatingDocumentBuilder(java.lang.String xmlDocument, java.lang.Exception cause)
          INTERNAL:
static XMLParseException exceptionCreatingSAXParser(java.net.URL url, java.lang.Exception cause)
          INTERNAL:
static XMLParseException exceptionCreatingXMLReader(java.net.URL url, java.lang.Exception cause)
          INTERNAL:
static XMLParseException exceptionReadingXMLDocument(java.lang.String xmlDocument, java.lang.Exception cause)
          INTERNAL:
static XMLParseException exceptionSettingSchemaSource(java.net.URL baseUrl, java.net.URL schemaUrl, java.lang.Exception cause)
          INTERNAL:
 
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCEPTION_CREATING_DOCUMENT_BUILDER

public static final int EXCEPTION_CREATING_DOCUMENT_BUILDER
See Also:
Constant Field Values

EXCEPTION_READING_XML_DOCUMENT

public static final int EXCEPTION_READING_XML_DOCUMENT
See Also:
Constant Field Values

EXCEPTION_CREATING_SAX_PARSER

public static final int EXCEPTION_CREATING_SAX_PARSER
See Also:
Constant Field Values

EXCEPTION_CREATING_XML_READER

public static final int EXCEPTION_CREATING_XML_READER
See Also:
Constant Field Values

EXCEPTION_SETTING_SCHEMA_SOURCE

public static final int EXCEPTION_SETTING_SCHEMA_SOURCE
See Also:
Constant Field Values
Constructor Detail

XMLParseException

public XMLParseException()
INTERNAL: TopLink exceptions should only be thrown by TopLink.


XMLParseException

protected XMLParseException(java.lang.String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.


XMLParseException

protected XMLParseException(java.lang.String message,
                            java.lang.Throwable internalException)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

Method Detail

exceptionCreatingDocumentBuilder

public static XMLParseException exceptionCreatingDocumentBuilder(java.lang.String xmlDocument,
                                                                 java.lang.Exception cause)
INTERNAL:


exceptionCreatingSAXParser

public static XMLParseException exceptionCreatingSAXParser(java.net.URL url,
                                                           java.lang.Exception cause)
INTERNAL:


exceptionCreatingXMLReader

public static XMLParseException exceptionCreatingXMLReader(java.net.URL url,
                                                           java.lang.Exception cause)
INTERNAL:


exceptionReadingXMLDocument

public static XMLParseException exceptionReadingXMLDocument(java.lang.String xmlDocument,
                                                            java.lang.Exception cause)
INTERNAL:


exceptionSettingSchemaSource

public static XMLParseException exceptionSettingSchemaSource(java.net.URL baseUrl,
                                                             java.net.URL schemaUrl,
                                                             java.lang.Exception cause)
INTERNAL:


EclipseLink 1.1.4, build 'v20100812-r7860' API Reference