001    package org.odmg;
002    
003    
004    
005    
006    
007    /**
008    
009     * This exception is thrown when deleting an object that is not persistent.
010    
011     * @author      David Jordan (as Java Editor of the Object Data Management Group)
012    
013     * @version ODMG 3.0
014    
015     */
016    
017    
018    
019    public class ObjectNotPersistentException extends ODMGRuntimeException
020    
021    {
022    
023    
024    
025        /**
026    
027         * Construct an instance of the exception.
028    
029         */
030    
031        public ObjectNotPersistentException()
032    
033        {
034    
035            super();
036    
037        }
038    
039    
040    
041        /**
042    
043         * Construct an instance of the exception.
044    
045         * @param   msg     A string providing a description of the exception.
046    
047         */
048    
049        public ObjectNotPersistentException(String msg)
050    
051        {
052    
053            super(msg);
054    
055        }
056    
057    }
058