public class XMLPlatformException extends EclipseLinkException
Modifier and Type | Field and 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 |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Modifier | Constructor and Description |
---|---|
protected |
XMLPlatformException(java.lang.String message) |
Modifier and Type | Method and 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
|
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int XML_PLATFORM_CLASS_NOT_FOUND
public static final int XML_PLATFORM_COULD_NOT_INSTANTIATE
public static final int XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT
public static final int XML_PLATFORM_INVALID_XPATH
public static final int XML_PLATFORM_VALIDATION_EXCEPTION
public static final int XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA
public static final int XML_PLATFORM_PARSE_EXCEPTION
public static final int XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION
public static final int XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION
public static final int XML_PLATFORM_TRANSFORM_EXCEPTION
public static final int XML_PLATFORM_INVALID_TYPE
public static XMLPlatformException xmlPlatformClassNotFound(java.lang.String xmlPlatformClassName, java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformCouldNotInstantiate(java.lang.String xmlPlatformClassName, java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformCouldNotCreateDocument(java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformInvalidXPath(java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformValidationException(java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformValidationException(java.lang.String errorMessage)
public static XMLPlatformException xmlPlatformInvalidTypeException(int type)
XMLSchemaReference.getType()
public static XMLPlatformException xmlPlatformParseException(java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformFileNotFoundException(java.io.File file, java.io.IOException nestedException)
public static XMLPlatformException xmlPlatformSAXParseException(org.xml.sax.SAXParseException nestedException)
public static XMLPlatformException xmlPlatformErrorResolvingXMLSchema(java.net.URL url, java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformErrorResolvingXMLSchemas(java.lang.Object[] schemas, java.lang.Exception nestedException)
public static XMLPlatformException xmlPlatformTransformException(java.lang.Exception nestedException)