Fields Summary |
---|
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 |
Methods Summary |
---|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformClassNotFound(java.lang.String xmlPlatformClassName, java.lang.Exception nestedException)
Object[] args = { xmlPlatformClassName };
int errorCode = XML_PLATFORM_CLASS_NOT_FOUND;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformCouldNotCreateDocument(java.lang.Exception nestedException)
Object[] args = { };
int errorCode = XML_PLATFORM_COULD_NOT_CREATE_DOCUMENT;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformCouldNotInstantiate(java.lang.String xmlPlatformClassName, java.lang.Exception nestedException)
Object[] args = { xmlPlatformClassName };
int errorCode = XML_PLATFORM_COULD_NOT_INSTANTIATE;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformErrorResolvingXMLSchema(java.net.URL url, java.lang.Exception nestedException)
Object[] args = { url };
int errorCode = XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformErrorResolvingXMLSchemas(java.lang.Object[] schemas, java.lang.Exception nestedException)
Object[] args = { };
int errorCode = XML_PLATFORM_PARSER_ERROR_RESOLVING_XML_SCHEMA;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformFileNotFoundException(java.io.File file, java.io.IOException nestedException)
Object[] args = { file.getAbsolutePath() };
int errorCode = XML_PLATFORM_PARSER_FILE_NOT_FOUND_EXCEPTION;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformInvalidTypeException(int type)Handles an invalid type setting in a schema reference.
Object[] args = { new Integer(type) };
int errorCode = XML_PLATFORM_INVALID_TYPE;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformInvalidXPath(java.lang.Exception nestedException)
Object[] args = { };
int errorCode = XML_PLATFORM_INVALID_XPATH;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformParseException(java.lang.Exception nestedException)
Object[] args = { };
int errorCode = XML_PLATFORM_PARSE_EXCEPTION;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformSAXParseException(org.xml.sax.SAXParseException nestedException)
Object[] args = { new Integer(nestedException.getLineNumber()), nestedException.getSystemId(), nestedException.getMessage() };
int errorCode = XML_PLATFORM_PARSER_SAX_PARSE_EXCEPTION;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformTransformException(java.lang.Exception nestedException)
Object[] args = { };
int errorCode = XML_PLATFORM_TRANSFORM_EXCEPTION;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformValidationException(java.lang.Exception nestedException)
Object[] args = { };
int errorCode = XML_PLATFORM_VALIDATION_EXCEPTION;
XMLPlatformException exception = new XMLPlatformException(ExceptionMessageGenerator.buildMessage(XMLPlatformException.class, errorCode, args));
exception.setErrorCode(errorCode);
exception.setInternalException(nestedException);
return exception;
|
public static oracle.toplink.essentials.platform.xml.XMLPlatformException | xmlPlatformValidationException(java.lang.String errorMessage)Takes an error messsage string
int errorCode = XML_PLATFORM_VALIDATION_EXCEPTION;
XMLPlatformException exception = new XMLPlatformException(errorMessage);
exception.setErrorCode(errorCode);
return exception;
|