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
public class XMLParseException extends EclipseLinkException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Modifier Constructor Description XMLParseException()
INTERNAL: 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 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(String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
-
Method Detail
-
exceptionCreatingDocumentBuilder
public static XMLParseException exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause)
INTERNAL:
-
exceptionCreatingSAXParser
public static XMLParseException exceptionCreatingSAXParser(URL url, Exception cause)
INTERNAL:
-
exceptionCreatingXMLReader
public static XMLParseException exceptionCreatingXMLReader(URL url, Exception cause)
INTERNAL:
-
exceptionReadingXMLDocument
public static XMLParseException exceptionReadingXMLDocument(String xmlDocument, Exception cause)
INTERNAL:
-
exceptionSettingSchemaSource
public static XMLParseException exceptionSettingSchemaSource(URL baseUrl, URL schemaUrl, Exception cause)
INTERNAL:
-
-