EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.platform.xml
Class XMLPlatformException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.platform.xml.XMLPlatformException
All Implemented Interfaces:
java.io.Serializable

public class XMLPlatformException
extends EclipseLinkException

See Also:
Serialized Form

Field Summary
static int XML_PLATFORM_CLASS_NOT_FOUND
           
static int XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT
           
static int XML_PLATFORM_COULD_NOT_INSTANTIATE
           
static int XML_PLATFORM_INVALID_TYPE
           
static int XML_PLATFORM_INVALID_XPATH
           
static int XML_PLATFORM_PARSE_EXCEPTION
           
static int XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA
           
static int XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION
           
static int XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION
           
static int XML_PLATFORM_TRANSFORM_EXCEPTION
           
static int XML_PLATFORM_VALIDATION_EXCEPTION
           
 
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
 
Constructor Summary
protected XMLPlatformException(java.lang.String message)
           
 
Method Summary
static XMLPlatformException xmlPlatformClassNotFound(java.lang.String xmlPlatformClassName, java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformCouldNotCreateDocument(java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformCouldNotInstantiate(java.lang.String xmlPlatformClassName, java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformErrorResolvingXMLSchema(java.net.URL url, java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformErrorResolvingXMLSchemas(java.lang.Object[] schemas, java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformFileNotFoundException(java.io.File file, java.io.IOException nestedException)
           
static XMLPlatformException xmlPlatformInvalidTypeException(int type)
          Handles an invalid type setting in a schema reference.
static XMLPlatformException xmlPlatformInvalidXPath(java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformParseException(java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformSAXParseException(org.xml.sax.SAXParseException nestedException)
           
static XMLPlatformException xmlPlatformTransformException(java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformValidationException(java.lang.Exception nestedException)
           
static XMLPlatformException xmlPlatformValidationException(java.lang.String errorMessage)
          Takes an error messsage string
 
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_PLATFORM_CLASS_NOT_FOUND

public static final int XML_PLATFORM_CLASS_NOT_FOUND
See Also:
Constant Field Values

XML_PLATFORM_COULD_NOT_INSTANTIATE

public static final int XML_PLATFORM_COULD_NOT_INSTANTIATE
See Also:
Constant Field Values

XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT

public static final int XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT
See Also:
Constant Field Values

XML_PLATFORM_INVALID_XPATH

public static final int XML_PLATFORM_INVALID_XPATH
See Also:
Constant Field Values

XML_PLATFORM_VALIDATION_EXCEPTION

public static final int XML_PLATFORM_VALIDATION_EXCEPTION
See Also:
Constant Field Values

XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA

public static final int XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA
See Also:
Constant Field Values

XML_PLATFORM_PARSE_EXCEPTION

public static final int XML_PLATFORM_PARSE_EXCEPTION
See Also:
Constant Field Values

XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION

public static final int XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION
See Also:
Constant Field Values

XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION

public static final int XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION
See Also:
Constant Field Values

XML_PLATFORM_TRANSFORM_EXCEPTION

public static final int XML_PLATFORM_TRANSFORM_EXCEPTION
See Also:
Constant Field Values

XML_PLATFORM_INVALID_TYPE

public static final int XML_PLATFORM_INVALID_TYPE
See Also:
Constant Field Values
Constructor Detail

XMLPlatformException

protected XMLPlatformException(java.lang.String message)
Method Detail

xmlPlatformClassNotFound

public static XMLPlatformException xmlPlatformClassNotFound(java.lang.String xmlPlatformClassName,
                                                            java.lang.Exception nestedException)

xmlPlatformCouldNotInstantiate

public static XMLPlatformException xmlPlatformCouldNotInstantiate(java.lang.String xmlPlatformClassName,
                                                                  java.lang.Exception nestedException)

xmlPlatformCouldNotCreateDocument

public static XMLPlatformException xmlPlatformCouldNotCreateDocument(java.lang.Exception nestedException)

xmlPlatformInvalidXPath

public static XMLPlatformException xmlPlatformInvalidXPath(java.lang.Exception nestedException)

xmlPlatformValidationException

public static XMLPlatformException xmlPlatformValidationException(java.lang.Exception nestedException)

xmlPlatformValidationException

public static XMLPlatformException xmlPlatformValidationException(java.lang.String errorMessage)
Takes an error messsage string


xmlPlatformInvalidTypeException

public static XMLPlatformException xmlPlatformInvalidTypeException(int type)
Handles an invalid type setting in a schema reference.

See Also:
org.eclipse.persistence.platform.xml.XMLSchemaReference.getType()

xmlPlatformParseException

public static XMLPlatformException xmlPlatformParseException(java.lang.Exception nestedException)

xmlPlatformFileNotFoundException

public static XMLPlatformException xmlPlatformFileNotFoundException(java.io.File file,
                                                                    java.io.IOException nestedException)

xmlPlatformSAXParseException

public static XMLPlatformException xmlPlatformSAXParseException(org.xml.sax.SAXParseException nestedException)

xmlPlatformErrorResolvingXMLSchema

public static XMLPlatformException xmlPlatformErrorResolvingXMLSchema(java.net.URL url,
                                                                      java.lang.Exception nestedException)

xmlPlatformErrorResolvingXMLSchemas

public static XMLPlatformException xmlPlatformErrorResolvingXMLSchemas(java.lang.Object[] schemas,
                                                                       java.lang.Exception nestedException)

xmlPlatformTransformException

public static XMLPlatformException xmlPlatformTransformException(java.lang.Exception nestedException)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference