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

org.postgresql.xml.NullErrorHandler Maven / Gradle / Ivy

There is a newer version: 5.0.0.9.pg
Show newest version
/*
 * Copyright (c) 2020, PostgreSQL Global Development Group
 * See the LICENSE file in the project root for more information.
 */

package io.mogdb.xml;

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

/**
 * Error handler that silently suppresses all errors.
 */
public class NullErrorHandler implements ErrorHandler {
    public static final NullErrorHandler INSTANCE = new NullErrorHandler();

    public void error(SAXParseException e) {
    }

    public void fatalError(SAXParseException e) {
    }

    public void warning(SAXParseException e) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy