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

spinjar.com.sun.xml.bind.api.ErrorListener Maven / Gradle / Ivy

There is a newer version: 7.22.0-alpha1
Show newest version
/*
 * Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.bind.api;

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

/**
 * Implemented by the driver of the compiler engine to handle
 * errors found during the compiliation.
 *
 * 

* This class implements {@link ErrorHandler} so it can be * passed to anywhere where {@link ErrorHandler} is expected. * *

* However, to make the error handling easy (and make it work * with visitor patterns nicely), this interface is not allowed * to abort the processing. It merely receives errors. * * @author Kohsuke Kawaguchi ([email protected]) * @since 2.1 EA2 */ public interface ErrorListener extends ErrorHandler { void error(SAXParseException exception); void fatalError(SAXParseException exception); void warning(SAXParseException exception); /** * Used to report possibly verbose information that * can be safely ignored. */ void info(SAXParseException exception); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy