FileDocCategorySizeDatePackage
DraconianErrorHandler.javaAPI DocJava SE 6 API1894Tue Jun 10 00:22:48 BST 2008com.sun.org.apache.xerces.internal.jaxp.validation

DraconianErrorHandler

public final class DraconianErrorHandler extends Object implements ErrorHandler
{@link ErrorHandler} that throws all errors and fatal errors.
author
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
version
$Id: DraconianErrorHandler.java,v 1.1.4.1 2005/09/05 11:39:09 sunithareddy Exp $

Fields Summary
private static final DraconianErrorHandler
ERROR_HANDLER_INSTANCE
Singleton instance.
Constructors Summary
private DraconianErrorHandler()

    
      
Methods Summary
public voiderror(org.xml.sax.SAXParseException e)
Error: Throws back SAXParseException.

        throw e;
    
public voidfatalError(org.xml.sax.SAXParseException e)
Fatal Error: Throws back SAXParseException.

        throw e;
    
public static com.sun.org.apache.xerces.internal.jaxp.validation.DraconianErrorHandlergetInstance()
Returns the one and only instance of this error handler.

        return ERROR_HANDLER_INSTANCE;
    
public voidwarning(org.xml.sax.SAXParseException e)
Warning: Ignore.

        // noop