Top Fields Constructors Methods
org.eclipse.persistence.exceptions

public Class XMLParseException

extends EclipseLinkException
Class Inheritance
Imports
java.net.URL, org.eclipse.persistence.exceptions.i18n.*

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
Inherited from org.eclipse.persistence.exceptions.EclipseLinkException:
CRerrorCodehasBeenLoggedindentationStringinternalExceptionsessionshouldPrintInternalException

Constructor Summary

AccessConstructor and Description
public
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

Modifier and TypeMethod and Description
public static XMLParseException
exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause)

INTERNAL:

public static XMLParseException
public static XMLParseException
public static XMLParseException
exceptionReadingXMLDocument(String xmlDocument, Exception cause)

INTERNAL:

public static XMLParseException
exceptionSettingSchemaSource(URL baseUrl, URL schemaUrl, Exception cause)

INTERNAL:

private static XMLParseException
getXMLParseException(Object[] args, Exception cause, int errorCode)

Inherited from org.eclipse.persistence.exceptions.EclipseLinkException:
crgetErrorCodegetIndentationStringgetInternalExceptiongetMessagegetSessiongetUnformattedMessagehasBeenLoggedprintStackTraceprintStackTraceprintStackTracesetErrorCodesetHasBeenLoggedsetIndentationStringsetInternalExceptionsetSessionsetShouldPrintInternalExceptionshouldPrintInternalExceptiontoString

Field Detail

EXCEPTION_CREATING_DOCUMENT_BUILDERback to summary
public static final int EXCEPTION_CREATING_DOCUMENT_BUILDER
EXCEPTION_CREATING_SAX_PARSERback to summary
public static final int EXCEPTION_CREATING_SAX_PARSER
EXCEPTION_CREATING_XML_READERback to summary
public static final int EXCEPTION_CREATING_XML_READER
EXCEPTION_READING_XML_DOCUMENTback to summary
public static final int EXCEPTION_READING_XML_DOCUMENT
EXCEPTION_SETTING_SCHEMA_SOURCEback to summary
public static final int EXCEPTION_SETTING_SCHEMA_SOURCE

Constructor Detail

XMLParseExceptionback to summary
public XMLParseException()

INTERNAL: TopLink exceptions should only be thrown by TopLink.

XMLParseExceptionback to summary
protected XMLParseException(String message)

INTERNAL: TopLink exceptions should only be thrown by TopLink.

XMLParseExceptionback to summary
protected XMLParseException(String message, Throwable internalException)

INTERNAL: TopLink exceptions should only be thrown by TopLink.

Method Detail

exceptionCreatingDocumentBuilderback to summary
public static XMLParseException exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause)

INTERNAL:

exceptionCreatingSAXParserback to summary
public static XMLParseException exceptionCreatingSAXParser(URL url, Exception cause)

INTERNAL:

exceptionCreatingXMLReaderback to summary
public static XMLParseException exceptionCreatingXMLReader(URL url, Exception cause)

INTERNAL:

exceptionReadingXMLDocumentback to summary
public static XMLParseException exceptionReadingXMLDocument(String xmlDocument, Exception cause)

INTERNAL:

exceptionSettingSchemaSourceback to summary
public static XMLParseException exceptionSettingSchemaSource(URL baseUrl, URL schemaUrl, Exception cause)

INTERNAL:

getXMLParseExceptionback to summary
private static XMLParseException getXMLParseException(Object[] args, Exception cause, int errorCode)