1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package javax.faces.context;
20
21 import javax.faces.FacesException;
22 import javax.faces.event.AbortProcessingException;
23 import javax.faces.event.ExceptionQueuedEvent;
24 import javax.faces.event.SystemEvent;
25 import javax.faces.event.SystemEventListener;
26
27
28
29
30
31
32
33 public abstract class ExceptionHandler implements SystemEventListener
34 {
35 public ExceptionHandler()
36 {
37
38 }
39
40 public abstract ExceptionQueuedEvent getHandledExceptionQueuedEvent();
41
42 public abstract Iterable<ExceptionQueuedEvent> getHandledExceptionQueuedEvents();
43
44 public abstract Throwable getRootCause(Throwable t);
45
46 public abstract Iterable<ExceptionQueuedEvent> getUnhandledExceptionQueuedEvents();
47
48 public abstract void handle() throws FacesException;
49
50 public abstract boolean isListenerForSource(Object source);
51
52 public abstract void processEvent(SystemEvent exceptionQueuedEvent) throws AbortProcessingException;
53 }