View Javadoc

1   /*
2    * $Id: UnsupportedEventTypeException.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.event;
6   
7   import javax.faces.FacesException;
8   import javax.faces.event.FacesEvent;
9   
10  /**
11   * 
12   * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
13   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
14   */
15  public class UnsupportedEventTypeException extends FacesException {
16  
17      private static final String REVISION = "$Revision: 1.18 $";
18  
19      private static final long serialVersionUID = 267866609058774106L;
20  
21      private final FacesEvent event;
22  
23      public UnsupportedEventTypeException(FacesEvent event) {
24          super("Event '" + event + "' is not supported by listener !");
25  
26          this.event = event;
27      }
28  
29      public final FacesEvent getEvent() {
30          return event;
31      }
32  
33  }