/*
* $Id: ErrorListener.java,v 1.3 2002/09/16 08:05:02 jkl Exp $
*
* Copyright (c) 2002 Njet Communications Ltd. All Rights Reserved.
*
* Use is subject to license terms, as defined in
* Anvil Sofware License, Version 1.1. See LICENSE
* file, or http://njet.org/license-1.1.txt
*/
package anvil;
import java.util.Enumeration;
/**
* interface ErrorListener
*
* @author: Jani Lehtimki
*/
public interface ErrorListener
{
public void error(Location location, Throwable throwable);
public void error(Location location, String message);
public int errors();
public Enumeration getEvents();
public void merge(ErrorListener listener);
}
|