001    package org.odmg;
002    
003    
004    
005    /**
006    
007     * This exception is thrown when a call has been made that modifies
008    
009     * a database that is open in read-only mode.
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
016    
017     * @see org.odmg.ODMGRuntimeException
018    
019     */
020    
021    
022    
023    public class DatabaseIsReadOnlyException extends ODMGRuntimeException
024    
025    {
026    
027        /**
028    
029         * Construct an instance of the exception without a message.
030    
031         */
032    
033        public DatabaseIsReadOnlyException()
034    
035        {
036    
037            super();
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 DatabaseIsReadOnlyException(String msg)
052    
053        {
054    
055            super(msg);
056    
057        }
058    
059    }
060