ErrorListener.java :  » Web-Framework » anvil » anvil » Java Open Source

Java Open Source » Web Framework » anvil 
anvil » anvil » ErrorListener.java
/*
 * $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);

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.