01: package org.odmg;
02:
03: /**
04: * This exception is thrown when a call has been made that modifies
05: * a database that is open in read-only mode.
06: * @author David Jordan (as Java Editor of the Object Data Management Group)
07: * @version ODMG 3.0
08: * @see org.odmg.Database
09: * @see org.odmg.ODMGRuntimeException
10: */
11:
12: public class DatabaseIsReadOnlyException extends ODMGRuntimeException {
13: /**
14: * Construct an instance of the exception without a message.
15: */
16: public DatabaseIsReadOnlyException() {
17: super ();
18: }
19:
20: /**
21: * Construct an instance of the exception with a descriptive message.
22: * @param msg A message indicating why the exception occurred.
23: */
24: public DatabaseIsReadOnlyException(String msg) {
25: super(msg);
26: }
27: }
|