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:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic XMLPlatformException
xmlPlatformClassNotFound
(String xmlPlatformClassName, Exception nestedException) static XMLPlatformException
xmlPlatformCouldNotCreateDocument
(Exception nestedException) static XMLPlatformException
xmlPlatformCouldNotInstantiate
(String xmlPlatformClassName, Exception nestedException) static XMLPlatformException
xmlPlatformErrorResolvingXMLSchema
(URL url, Exception nestedException) static XMLPlatformException
xmlPlatformErrorResolvingXMLSchemas
(Object[] schemas, Exception nestedException) static XMLPlatformException
xmlPlatformFileNotFoundException
(File file, IOException nestedException) static XMLPlatformException
xmlPlatformInvalidTypeException
(int type) Handles an invalid type setting in a schema reference.static XMLPlatformException
xmlPlatformInvalidXPath
(Exception nestedException) static XMLPlatformException
xmlPlatformParseException
(Exception nestedException) static XMLPlatformException
xmlPlatformSAXParseException
(SAXParseException nestedException) static XMLPlatformException
xmlPlatformTransformException
(Exception nestedException) static XMLPlatformException
xmlPlatformValidationException
(Exception nestedException) static XMLPlatformException
xmlPlatformValidationException
(String errorMessage) Takes an error messsage stringMethods 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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
XML_PLATFORM_CLASS_NOT_FOUND
public static final int XML_PLATFORM_CLASS_NOT_FOUND- See Also:
-
XML_PLATFORM_COULD_NOT_INSTANTIATE
public static final int XML_PLATFORM_COULD_NOT_INSTANTIATE- See Also:
-
XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT
public static final int XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT- See Also:
-
XML_PLATFORM_INVALID_XPATH
public static final int XML_PLATFORM_INVALID_XPATH- See Also:
-
XML_PLATFORM_VALIDATION_EXCEPTION
public static final int XML_PLATFORM_VALIDATION_EXCEPTION- See Also:
-
XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA
public static final int XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA- See Also:
-
XML_PLATFORM_PARSE_EXCEPTION
public static final int XML_PLATFORM_PARSE_EXCEPTION- See Also:
-
XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION
public static final int XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION- See Also:
-
XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION
public static final int XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION- See Also:
-
XML_PLATFORM_TRANSFORM_EXCEPTION
public static final int XML_PLATFORM_TRANSFORM_EXCEPTION- See Also:
-
XML_PLATFORM_INVALID_TYPE
public static final int XML_PLATFORM_INVALID_TYPE- See Also:
-
-
Constructor Details
-
XMLPlatformException
-
-
Method Details
-
xmlPlatformClassNotFound
public static XMLPlatformException xmlPlatformClassNotFound(String xmlPlatformClassName, Exception nestedException) -
xmlPlatformCouldNotInstantiate
public static XMLPlatformException xmlPlatformCouldNotInstantiate(String xmlPlatformClassName, Exception nestedException) -
xmlPlatformCouldNotCreateDocument
-
xmlPlatformInvalidXPath
-
xmlPlatformValidationException
-
xmlPlatformValidationException
Takes an error messsage string -
xmlPlatformInvalidTypeException
Handles an invalid type setting in a schema reference.- See Also:
-
xmlPlatformParseException
-
xmlPlatformFileNotFoundException
public static XMLPlatformException xmlPlatformFileNotFoundException(File file, IOException nestedException) -
xmlPlatformSAXParseException
-
xmlPlatformErrorResolvingXMLSchema
public static XMLPlatformException xmlPlatformErrorResolvingXMLSchema(URL url, Exception nestedException) -
xmlPlatformErrorResolvingXMLSchemas
public static XMLPlatformException xmlPlatformErrorResolvingXMLSchemas(Object[] schemas, Exception nestedException) -
xmlPlatformTransformException
-