01: package org.odmg;
02:
03: /**
04:
05: * This exception is thrown when a call has been made that modifies
06:
07: * a database that is open in read-only mode.
08:
09: * @author David Jordan (as Java Editor of the Object Data Management Group)
10:
11: * @version ODMG 3.0
12:
13: * @see org.odmg.Database
14:
15: * @see org.odmg.ODMGRuntimeException
16:
17: */
18:
19: public class DatabaseIsReadOnlyException extends ODMGRuntimeException
20:
21: {
22:
23: /**
24:
25: * Construct an instance of the exception without a message.
26:
27: */
28:
29: public DatabaseIsReadOnlyException()
30:
31: {
32:
33: super ();
34:
35: }
36:
37: /**
38:
39: * Construct an instance of the exception with a descriptive message.
40:
41: * @param msg A message indicating why the exception occurred.
42:
43: */
44:
45: public DatabaseIsReadOnlyException(String msg)
46:
47: {
48:
49: super(msg);
50:
51: }
52:
53: }
|