KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > util > WebClippingException


1 package org.jahia.clipbuilder.html.util;
2
3 /**
4  * Description of the Class
5  *
6  *@author Tlili Khaled
7  */

8 public class WebClippingException extends Exception JavaDoc {
9     private String JavaDoc type;
10
11
12     /**
13      * Constructor for the WebClippingException object
14      *
15      *@param type Description of Parameter
16      *@param e Description of Parameter
17      */

18     public WebClippingException(String JavaDoc type, Exception JavaDoc e) {
19         super(e);
20         setType(type);
21     }
22
23
24     /**
25      * Sets the Type attribute of the WebClippingException object
26      *
27      *@param type The new Type value
28      */

29     public void setType(String JavaDoc type) {
30         this.type = type;
31     }
32
33
34     /**
35      * Gets the Type attribute of the WebClippingException object
36      *
37      *@return The Type value
38      */

39     public String JavaDoc getType() {
40         return type;
41     }
42 }
43
Popular Tags