Class XMLParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.XMLParseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
Constructor Summary
ModifierConstructorDescriptionINTERNAL: TopLink exceptions should only be thrown by TopLink.protected
XMLParseException
(String message) INTERNAL: TopLink exceptions should only be thrown by TopLink.protected
XMLParseException
(String message, Throwable internalException) INTERNAL: TopLink exceptions should only be thrown by TopLink. -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLParseException
exceptionCreatingDocumentBuilder
(String xmlDocument, Exception cause) INTERNAL:static XMLParseException
exceptionCreatingSAXParser
(URL url, Exception cause) INTERNAL:static XMLParseException
exceptionCreatingXMLReader
(URL url, Exception cause) INTERNAL:static XMLParseException
exceptionReadingXMLDocument
(String xmlDocument, Exception cause) INTERNAL:static XMLParseException
exceptionSettingSchemaSource
(URL baseUrl, URL schemaUrl, Exception cause) INTERNAL:Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
EXCEPTION_CREATING_DOCUMENT_BUILDER
public static final int EXCEPTION_CREATING_DOCUMENT_BUILDER- See Also:
-
EXCEPTION_READING_XML_DOCUMENT
public static final int EXCEPTION_READING_XML_DOCUMENT- See Also:
-
EXCEPTION_CREATING_SAX_PARSER
public static final int EXCEPTION_CREATING_SAX_PARSER- See Also:
-
EXCEPTION_CREATING_XML_READER
public static final int EXCEPTION_CREATING_XML_READER- See Also:
-
EXCEPTION_SETTING_SCHEMA_SOURCE
public static final int EXCEPTION_SETTING_SCHEMA_SOURCE- See Also:
-
-
Constructor Details
-
XMLParseException
public XMLParseException()INTERNAL: TopLink exceptions should only be thrown by TopLink. -
XMLParseException
INTERNAL: TopLink exceptions should only be thrown by TopLink. -
XMLParseException
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
-
Method Details
-
exceptionCreatingDocumentBuilder
public static XMLParseException exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause) INTERNAL: -
exceptionCreatingSAXParser
INTERNAL: -
exceptionCreatingXMLReader
INTERNAL: -
exceptionReadingXMLDocument
INTERNAL: -
exceptionSettingSchemaSource
public static XMLParseException exceptionSettingSchemaSource(URL baseUrl, URL schemaUrl, Exception cause) INTERNAL:
-