Source code: org/odmg/DatabaseNotFoundException.java
1 package org.odmg;
2
3 /**
4 * This exception is thrown when attempting to open a database that does not exist.
5 * This could be caused by the name provided to <code>Database.open</code> being incorrect.
6 * @author David Jordan (as Java Editor of the Object Data Management Group)
7 * @version ODMG 3.0
8 * @see org.odmg.Database#open
9 */
10
11 public class DatabaseNotFoundException extends ODMGException
12 {
13 /**
14 * Construct an instance of the exception.
15 */
16 public DatabaseNotFoundException()
17 {
18 super();
19 }
20
21
22 /**
23 * Construct an instance of the exception with a descriptive message.
24 * @param msg A message indicating why the exception occurred.
25 */
26 public DatabaseNotFoundException(String msg)
27 {
28 super(msg);
29 }
30 }