001 package org.odmg;
002
003
004
005 /**
006
007 * This exception is thrown when attempting to open a database that does not exist.
008
009 * This could be caused by the name provided to <code>Database.open</code> being incorrect.
010
011 * @author David Jordan (as Java Editor of the Object Data Management Group)
012
013 * @version ODMG 3.0
014
015 * @see org.odmg.Database#open
016
017 */
018
019
020
021 public class DatabaseNotFoundException extends ODMGException
022
023 {
024
025 /**
026
027 * Construct an instance of the exception.
028
029 */
030
031 public DatabaseNotFoundException()
032
033 {
034
035 super();
036
037 }
038
039
040
041
042
043 /**
044
045 * Construct an instance of the exception with a descriptive message.
046
047 * @param msg A message indicating why the exception occurred.
048
049 */
050
051 public DatabaseNotFoundException(String msg)
052
053 {
054
055 super(msg);
056
057 }
058
059 }
060