01: package org.odmg;
02:
03: /**
04:
05: * This exception is thrown when attempting to open a database that does not exist.
06:
07: * This could be caused by the name provided to <code>Database.open</code> being incorrect.
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#open
14:
15: */
16:
17: public class DatabaseNotFoundException extends ODMGException
18:
19: {
20:
21: /**
22:
23: * Construct an instance of the exception.
24:
25: */
26:
27: public DatabaseNotFoundException()
28:
29: {
30:
31: super ();
32:
33: }
34:
35: /**
36:
37: * Construct an instance of the exception with a descriptive message.
38:
39: * @param msg A message indicating why the exception occurred.
40:
41: */
42:
43: public DatabaseNotFoundException(String msg)
44:
45: {
46:
47: super(msg);
48:
49: }
50:
51: }
|