Top Fields Constructors Methods
org.eclipse.persistence.platform.xml

public Class XMLPlatformException

extends EclipseLinkException
Class Inheritance
Imports
java.io.File, .IOException, java.net.URL, org.xml.sax.SAXParseException, org.eclipse.persistence.exceptions.EclipseLinkException, org.eclipse.persistence.exceptions.i18n.ExceptionMessageGenerator

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
public static final int
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
protected

Method Summary

Modifier and TypeMethod and Description
public static XMLPlatformException
xmlPlatformClassNotFound(String xmlPlatformClassName, Exception nestedException)

public static XMLPlatformException
public static XMLPlatformException
xmlPlatformCouldNotInstantiate(String xmlPlatformClassName, Exception nestedException)

public static XMLPlatformException
public static XMLPlatformException
public static XMLPlatformException
public static XMLPlatformException
xmlPlatformInvalidTypeException(int type)

Handles an invalid type setting in a schema reference.

public static XMLPlatformException
public static XMLPlatformException
public static XMLPlatformException
public static XMLPlatformException
public static XMLPlatformException
public static XMLPlatformException
xmlPlatformValidationException(String errorMessage)

Takes an error messsage string

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

Field Detail

XML_PLATFORM_CLASS_NOT_FOUNDback to summary
public static final int XML_PLATFORM_CLASS_NOT_FOUND
XML_PLATFORM_COULD_NOT_CREATE_DOCUMENTback to summary
public static final int XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT
XML_PLATFORM_COULD_NOT_INSTANTIATEback to summary
public static final int XML_PLATFORM_COULD_NOT_INSTANTIATE
XML_PLATFORM_INVALID_TYPEback to summary
public static final int XML_PLATFORM_INVALID_TYPE
XML_PLATFORM_INVALID_XPATHback to summary
public static final int XML_PLATFORM_INVALID_XPATH
XML_PLATFORM_PARSE_EXCEPTIONback to summary
public static final int XML_PLATFORM_PARSE_EXCEPTION
XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMAback to summary
public static final int XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA
XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTIONback to summary
public static final int XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION
XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTIONback to summary
public static final int XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION
XML_PLATFORM_TRANSFORM_EXCEPTIONback to summary
public static final int XML_PLATFORM_TRANSFORM_EXCEPTION
XML_PLATFORM_VALIDATION_EXCEPTIONback to summary
public static final int XML_PLATFORM_VALIDATION_EXCEPTION

Constructor Detail

XMLPlatformExceptionback to summary
protected XMLPlatformException(String message)

Method Detail

xmlPlatformClassNotFoundback to summary
public static XMLPlatformException xmlPlatformClassNotFound(String xmlPlatformClassName, Exception nestedException)
xmlPlatformCouldNotCreateDocumentback to summary
public static XMLPlatformException xmlPlatformCouldNotCreateDocument(Exception nestedException)
xmlPlatformCouldNotInstantiateback to summary
public static XMLPlatformException xmlPlatformCouldNotInstantiate(String xmlPlatformClassName, Exception nestedException)
xmlPlatformErrorResolvingXMLSchemaback to summary
public static XMLPlatformException xmlPlatformErrorResolvingXMLSchema(URL url, Exception nestedException)
xmlPlatformErrorResolvingXMLSchemasback to summary
public static XMLPlatformException xmlPlatformErrorResolvingXMLSchemas(Object[] schemas, Exception nestedException)
xmlPlatformFileNotFoundExceptionback to summary
public static XMLPlatformException xmlPlatformFileNotFoundException(File file, IOException nestedException)
xmlPlatformInvalidTypeExceptionback to summary
public static XMLPlatformException xmlPlatformInvalidTypeException(int type)

Handles an invalid type setting in a schema reference.

See Also
org.eclipse.persistence.platform.xml.XMLSchemaReference#getType()
xmlPlatformInvalidXPathback to summary
public static XMLPlatformException xmlPlatformInvalidXPath(Exception nestedException)
xmlPlatformParseExceptionback to summary
public static XMLPlatformException xmlPlatformParseException(Exception nestedException)
xmlPlatformSAXParseExceptionback to summary
public static XMLPlatformException xmlPlatformSAXParseException(SAXParseException nestedException)
xmlPlatformTransformExceptionback to summary
public static XMLPlatformException xmlPlatformTransformException(Exception nestedException)
xmlPlatformValidationExceptionback to summary
public static XMLPlatformException xmlPlatformValidationException(Exception nestedException)
xmlPlatformValidationExceptionback to summary
public static XMLPlatformException xmlPlatformValidationException(String errorMessage)

Takes an error messsage string