All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wiperdog.installer.internal.XMLErrorHandler Maven / Gradle / Ivy

package org.wiperdog.installer.internal;

import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXParseException;

/**
 * Handler for XML errors.
 * At this point, the handler simply prints stack traces.
 * @author nguyenvannghia
 *
 */
public class XMLErrorHandler implements ErrorHandler {

	/** Prints an error message in response to parser warnings.
	 */
	public void warning(SAXParseException e) {
		e.printStackTrace();
	}

	/** Prints an error message in response to parser errors.
	 */
	public void error(SAXParseException e) {
		e.printStackTrace();
	}

	/** Prints an error message in response to parser fatal errors.
	 */
	public void fatalError(SAXParseException e) {
		e.printStackTrace();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy