View Javadoc

1   /*
2    * This file is a part of CAST project.
3    * (c) Copyright 2007, AGH University of Science & Technology
4    * https://caribou.iisg.agh.edu.pl/trac/cast
5    *
6    * Licensed under the Eclipse Public License, Version 1.0 (the "License").
7    * You may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    * http://www.eclipse.org/legal/epl-v10.html
10   */
11  /*
12   * File: IExceptionHandler.java
13   * Created: 2008-11-28
14   * Author: tmilos
15   * $Id: IExceptionHandler.java 2306 2009-01-12 21:38:39Z tmilos $
16   */
17  
18  package pl.edu.agh.cast.util;
19  
20  /**
21   * Interface of asynchronous {@link Exception} handler.
22   *
23   * @author AGH CAST Team
24   */
25  public interface IExceptionHandler {
26  
27  	/**
28  	 * Handle exception.
29  	 *
30  	 * @param e
31  	 *            exception to handle
32  	 */
33  	public void handleException(Exception e);
34  
35  }