2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.view;
19
20 /***
21 * <p>Interface describing a "strategy pattern" implementation for
22 * handling exceptions thrown by an application event callback that
23 * is managed by Shale. A suitable instance may be acquired by calling
24 * <code>ExceptionHandlerFactory.getInstance().getExceptionHandler()</code>.</p>
25 *
26 * @since 1.0.3
27 *
28 * $Id: ExceptionHandler.java 464373 2006-10-16 04:21:54Z rahul $
29 */
30 public interface ExceptionHandler {
31
32
33 /***
34 * <p>Handle the specified exception thrown by an application
35 * event handler.</p>
36 *
37 * @param exception Exception that was thrown
38 */
39 public void handleException(Exception exception);
40
41
42 }