KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > data > DataReadOnlyException


1 package prefuse.data;
2
3 /**
4  * Exception indicating an attempt to write to a read-only data value was made.
5  * @author <a HREF="http://jheer.org">jeffrey heer</a>
6  */

7 public class DataReadOnlyException extends RuntimeException JavaDoc {
8
9     /**
10      * Create a new DataReadOnlyException.
11      */

12     public DataReadOnlyException() {
13         super();
14     }
15
16     /**
17      * Create a new DataReadOnlyException.
18      * @param message a descriptive error message
19      * @param cause a Throwable (e.g., error or exception) that was the cause
20      * for this exception being thrown
21      */

22     public DataReadOnlyException(String JavaDoc message, Throwable JavaDoc cause) {
23         super(message, cause);
24     }
25
26     /**
27      * Create a new DataReadOnlyException.
28      * @param message a descriptive error message
29      */

30     public DataReadOnlyException(String JavaDoc message) {
31         super(message);
32     }
33
34     /**
35      * Create a new DataReadOnlyException.
36      * @param cause a Throwable (e.g., error or exception) that was the cause
37      * for this exception being thrown
38      */

39     public DataReadOnlyException(Throwable JavaDoc cause) {
40         super(cause);
41     }
42
43 } // end of class DataReadOnlyException
44
Popular Tags