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