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