View Javadoc

1   package org.odmg;
2   
3   
4   
5   /**
6   
7    * This exception is thrown when attempting to open a database that does not exist.
8   
9    * This could be caused by the name provided to <code>Database.open</code> being incorrect.
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#open
16  
17   */
18  
19  
20  
21  public class DatabaseNotFoundException extends ODMGException
22  
23  {
24  
25      /**
26  
27       * Construct an instance of the exception.
28  
29       */
30  
31      public DatabaseNotFoundException()
32  
33      {
34  
35          super();
36  
37      }
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 DatabaseNotFoundException(String msg)
52  
53      {
54  
55          super(msg);
56  
57      }
58  
59  }
60