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:
java.io.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(java.lang.String message)INTERNAL: TopLink exceptions should only be thrown by TopLink.protectedXMLParseException(java.lang.String message, java.lang.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(java.lang.String xmlDocument, java.lang.Exception cause)INTERNAL:static XMLParseExceptionexceptionCreatingSAXParser(java.net.URL url, java.lang.Exception cause)INTERNAL:static XMLParseExceptionexceptionCreatingXMLReader(java.net.URL url, java.lang.Exception cause)INTERNAL:static XMLParseExceptionexceptionReadingXMLDocument(java.lang.String xmlDocument, java.lang.Exception cause)INTERNAL:static XMLParseExceptionexceptionSettingSchemaSource(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, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
-
-
-
-
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:
-
-