01: package prefuse.data;
02:
03: /**
04: * Exception indicating an attempt to write to a read-only data value was made.
05: * @author <a href="http://jheer.org">jeffrey heer</a>
06: */
07: public class DataReadOnlyException extends RuntimeException {
08:
09: /**
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 message, Throwable 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 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 cause) {
40: super (cause);
41: }
42:
43: } // end of class DataReadOnlyException
|