View Javadoc

1   /*
2    * $Id: WriterException.java,v 1.18 2011/06/16 09:29:41 jbmeslin Exp $
3    * 
4    */
5   
6   package org.rcfaces.core.internal.renderkit;
7   
8   import java.io.IOException;
9   
10  import javax.faces.component.UIComponent;
11  
12  /**
13   * 
14   * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
15   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:41 $
16   */
17  public class WriterException extends IOException {
18  
19      private static final String REVISION = "$Revision: 1.18 $";
20  
21      private static final long serialVersionUID = 473005368009076248L;
22  
23      private final UIComponent component;
24  
25      public WriterException(String message, Throwable throwable,
26              UIComponent component) {
27          super(message);
28  
29          initCause(throwable);
30  
31          this.component = component;
32      }
33  
34      public UIComponent getUIComponent() {
35          return component;
36      }
37  }