FileDocCategorySizeDatePackage
XMLParseException.javaAPI DocGlassfish v2 API4696Tue May 22 16:54:18 BST 2007oracle.toplink.essentials.exceptions

XMLParseException

public class XMLParseException extends TopLinkException

Fields Summary
public static final int
EXCEPTION_CREATING_DOCUMENT_BUILDER
public static final int
EXCEPTION_READING_XML_DOCUMENT
public static final int
EXCEPTION_CREATING_SAX_PARSER
public static final int
EXCEPTION_CREATING_XML_READER
public static final int
EXCEPTION_SETTING_SCHEMA_SOURCE
Constructors Summary
public XMLParseException()
INTERNAL: TopLink exceptions should only be thrown by TopLink.


                  
      
        super();
    
protected XMLParseException(String message)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

        super(message);
    
protected XMLParseException(String message, Throwable internalException)
INTERNAL: TopLink exceptions should only be thrown by TopLink.

        super(message);
        setInternalException(internalException);
    
Methods Summary
public static oracle.toplink.essentials.exceptions.XMLParseExceptionexceptionCreatingDocumentBuilder(java.lang.String xmlDocument, java.lang.Exception cause)
INTERNAL:

    	return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_CREATING_DOCUMENT_BUILDER);
    
public static oracle.toplink.essentials.exceptions.XMLParseExceptionexceptionCreatingSAXParser(java.net.URL url, java.lang.Exception cause)
INTERNAL:

    	return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_SAX_PARSER);
    
public static oracle.toplink.essentials.exceptions.XMLParseExceptionexceptionCreatingXMLReader(java.net.URL url, java.lang.Exception cause)
INTERNAL:

    	return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_XML_READER);
    
public static oracle.toplink.essentials.exceptions.XMLParseExceptionexceptionReadingXMLDocument(java.lang.String xmlDocument, java.lang.Exception cause)
INTERNAL:

    	return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_READING_XML_DOCUMENT);
    
public static oracle.toplink.essentials.exceptions.XMLParseExceptionexceptionSettingSchemaSource(java.net.URL baseUrl, java.net.URL schemaUrl, java.lang.Exception cause)
INTERNAL:

    	return XMLParseException.getXMLParseException(new Object[] {baseUrl, schemaUrl}, cause, EXCEPTION_SETTING_SCHEMA_SOURCE);
    
private static oracle.toplink.essentials.exceptions.XMLParseExceptiongetXMLParseException(java.lang.Object[] args, java.lang.Exception cause, int errorCode)

        XMLParseException parseException = new XMLParseException(ExceptionMessageGenerator.buildMessage(XMLParseException.class, errorCode, args), cause);
        parseException.setErrorCode(errorCode);
        return parseException;