Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.platform.xml
Class XMLPlatformException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.toplink.exceptions.TopLinkException
                  extended by oracle.toplink.platform.xml.XMLPlatformException
All Implemented Interfaces:
java.io.Serializable

public class XMLPlatformException
extends TopLinkException

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
           
 
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 oracle.toplink.exceptions.TopLinkException
getErrorCode, getInternalException, getMessage, getSession, printStackTrace, printStackTrace, printStackTrace, setShouldPrintInternalException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, 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
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:
oracle.toplink.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)

Copyright © 1998, 2010, Oracle. All Rights Reserved.