01: package org.odmg;
02:
03: /**
04: * This exception is thrown when attempting to open a database that does not exist.
05: * This could be caused by the name provided to <code>Database.open</code> being incorrect.
06: * @author David Jordan (as Java Editor of the Object Data Management Group)
07: * @version ODMG 3.0
08: * @see org.odmg.Database#open
09: */
10:
11: public class DatabaseNotFoundException extends ODMGException {
12: /**
13: * Construct an instance of the exception.
14: */
15: public DatabaseNotFoundException() {
16: super ();
17: }
18:
19: /**
20: * Construct an instance of the exception with a descriptive message.
21: * @param msg A message indicating why the exception occurred.
22: */
23: public DatabaseNotFoundException(String msg) {
24: super(msg);
25: }
26: }
|