Module org.eclipse.persistence.core
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 intEXCEPTION_CREATING_DOCUMENT_BUILDERstatic intEXCEPTION_CREATING_SAX_PARSERstatic intEXCEPTION_CREATING_XML_READERstatic intEXCEPTION_READING_XML_DOCUMENTstatic intEXCEPTION_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.protectedXMLParseException(String message)INTERNAL: TopLink exceptions should only be thrown by TopLink.protectedXMLParseException(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 XMLParseExceptionexceptionCreatingDocumentBuilder(String xmlDocument, Exception cause)INTERNAL:static XMLParseExceptionexceptionCreatingSAXParser(URL url, Exception cause)INTERNAL:static XMLParseExceptionexceptionCreatingXMLReader(URL url, Exception cause)INTERNAL:static XMLParseExceptionexceptionReadingXMLDocument(String xmlDocument, Exception cause)INTERNAL:static XMLParseExceptionexceptionSettingSchemaSource(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:
-
-