FileDocCategorySizeDatePackage
IgnoreAllErrorHandler.javaAPI DocJava SE 6 API2331Tue Jun 10 00:23:04 BST 2008com.sun.org.apache.xml.internal.security.utils

IgnoreAllErrorHandler

public class IgnoreAllErrorHandler extends Object implements ErrorHandler
This {@link org.xml.sax.ErrorHandler} does absulutely nothing but logging the events.
author
Christian Geuer-Pollmann

Fields Summary
static Logger
log
{@link java.util.logging} logging facility
static final boolean
warnOnExceptions
Field throwExceptions
static final boolean
throwExceptions
Field throwExceptions
Constructors Summary
Methods Summary
public voiderror(org.xml.sax.SAXParseException ex)

inheritDoc

		if (IgnoreAllErrorHandler.warnOnExceptions) {
			log.log(java.util.logging.Level.SEVERE, "", ex);
		}
		if (IgnoreAllErrorHandler.throwExceptions) {
			throw ex;
		}
	
public voidfatalError(org.xml.sax.SAXParseException ex)

inheritDoc

		if (IgnoreAllErrorHandler.warnOnExceptions) {
			log.log(java.util.logging.Level.WARNING, "", ex);
		}
		if (IgnoreAllErrorHandler.throwExceptions) {
			throw ex;
		}
	
public voidwarning(org.xml.sax.SAXParseException ex)

inheritDoc


	
	  
	      
		if (IgnoreAllErrorHandler.warnOnExceptions) {
			log.log(java.util.logging.Level.WARNING, "", ex);
		}
		if (IgnoreAllErrorHandler.throwExceptions) {
			throw ex;
		}