IgnoreAllErrorHandlerpublic class IgnoreAllErrorHandler extends Object implements ErrorHandlerThis {@link org.xml.sax.ErrorHandler} does absulutely nothing but logging
the events. |
Fields Summary |
---|
static Logger | log{@link java.util.logging} logging facility | static final boolean | warnOnExceptionsField throwExceptions | static final boolean | throwExceptionsField throwExceptions |
Methods Summary |
---|
public void | error(org.xml.sax.SAXParseException ex)
if (IgnoreAllErrorHandler.warnOnExceptions) {
log.log(java.util.logging.Level.SEVERE, "", ex);
}
if (IgnoreAllErrorHandler.throwExceptions) {
throw ex;
}
| public void | fatalError(org.xml.sax.SAXParseException ex)
if (IgnoreAllErrorHandler.warnOnExceptions) {
log.log(java.util.logging.Level.WARNING, "", ex);
}
if (IgnoreAllErrorHandler.throwExceptions) {
throw ex;
}
| public void | warning(org.xml.sax.SAXParseException ex)
if (IgnoreAllErrorHandler.warnOnExceptions) {
log.log(java.util.logging.Level.WARNING, "", ex);
}
if (IgnoreAllErrorHandler.throwExceptions) {
throw ex;
}
|
|