java.lang.Object
com.meterware.httpunit.parsing.ErrorHandler
- All Implemented Interfaces:
- org.apache.xerces.xni.parser.XMLErrorHandler
- class ErrorHandler
- extends java.lang.Object
- implements org.apache.xerces.xni.parser.XMLErrorHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_url
private java.net.URL _url
ErrorHandler
ErrorHandler(java.net.URL url)
warning
public void warning(java.lang.String domain,
java.lang.String key,
org.apache.xerces.xni.parser.XMLParseException warningException)
throws org.apache.xerces.xni.XNIException
- Description copied from interface:
org.apache.xerces.xni.parser.XMLErrorHandler
- Reports a warning. Warnings are non-fatal and can be safely ignored
by most applications.
- Specified by:
warning in interface org.apache.xerces.xni.parser.XMLErrorHandler
error
public void error(java.lang.String domain,
java.lang.String key,
org.apache.xerces.xni.parser.XMLParseException errorException)
throws org.apache.xerces.xni.XNIException
- Description copied from interface:
org.apache.xerces.xni.parser.XMLErrorHandler
- Reports an error. Errors are non-fatal and usually signify that the
document is invalid with respect to its grammar(s).
- Specified by:
error in interface org.apache.xerces.xni.parser.XMLErrorHandler
fatalError
public void fatalError(java.lang.String domain,
java.lang.String key,
org.apache.xerces.xni.parser.XMLParseException fatalError)
throws org.apache.xerces.xni.XNIException
- Description copied from interface:
org.apache.xerces.xni.parser.XMLErrorHandler
- Report a fatal error. Fatal errors usually occur when the document
is not well-formed and signifies that the parser cannot continue
normal operation.
Note: The error handler should always
throw an XNIException from this method. This exception
can either be the same exception that is passed as a parameter to
the method or a new XNI exception object. If the registered error
handler fails to throw an exception, the continuing operation of
the parser is undetermined.
- Specified by:
fatalError in interface org.apache.xerces.xni.parser.XMLErrorHandler