Class XMLPlatformException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.persistence.exceptions.EclipseLinkException
-
- org.eclipse.persistence.platform.xml.XMLPlatformException
-
- All Implemented Interfaces:
java.io.Serializable
public class XMLPlatformException extends EclipseLinkException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Modifier Constructor Description protected
XMLPlatformException(java.lang.String message)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
-
-
-
-
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:
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)
-
-