Module org.eclipse.persistence.core
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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLPlatformExceptionxmlPlatformClassNotFound(String xmlPlatformClassName, Exception nestedException) static XMLPlatformExceptionxmlPlatformCouldNotCreateDocument(Exception nestedException) static XMLPlatformExceptionxmlPlatformCouldNotInstantiate(String xmlPlatformClassName, Exception nestedException) static XMLPlatformExceptionxmlPlatformErrorResolvingXMLSchema(URL url, Exception nestedException) static XMLPlatformExceptionxmlPlatformErrorResolvingXMLSchemas(Object[] schemas, Exception nestedException) static XMLPlatformExceptionxmlPlatformFileNotFoundException(File file, IOException nestedException) static XMLPlatformExceptionxmlPlatformInvalidTypeException(int type) Handles an invalid type setting in a schema reference.static XMLPlatformExceptionxmlPlatformInvalidXPath(Exception nestedException) static XMLPlatformExceptionxmlPlatformParseException(Exception nestedException) static XMLPlatformExceptionxmlPlatformSAXParseException(SAXParseException nestedException) static XMLPlatformExceptionxmlPlatformTransformException(Exception nestedException) static XMLPlatformExceptionxmlPlatformValidationException(Exception nestedException) static XMLPlatformExceptionxmlPlatformValidationException(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, toStringMethods 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
-