com.sun.msv.verifier.util.IgnoreErrorHandler Maven / Gradle / Ivy
/*
* @(#)$Id: IgnoreErrorHandler.java,v 1.2 2003/06/09 20:37:48 kk122374 Exp $
*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.msv.verifier.util;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXParseException;
/**
* do-nothing implementation of ErrorHandler.
*
* @author Kohsuke KAWAGUCHI
*/
public class IgnoreErrorHandler implements ErrorHandler
{
public void fatalError( SAXParseException e ) throws SAXParseException { throw e; }
public void error( SAXParseException error ) {}
public void warning( SAXParseException warning ) {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy