001    package org.odmg;
002    
003    
004    
005    /**
006    
007     * This exception is thrown when the database asynchronously and explicitly
008    
009     * aborts the user's transaction due to some failure, the user's data is reset
010    
011     * just as if the user had directly called <code>Transaction.abort</code>.
012    
013     * @author      David Jordan (as Java Editor of the Object Data Management Group)
014    
015     * @version ODMG 3.0
016    
017     */
018    
019    
020    
021    public class TransactionAbortedException extends ODMGRuntimeException
022    
023    {
024    
025        /**
026    
027         * Constructs an instance of the exception.
028    
029         */
030    
031        public TransactionAbortedException()
032    
033        {
034    
035            super();
036    
037        }
038    
039    
040    
041        /**
042    
043         * Constructs an instance of the exception with the provided message.
044    
045         * @param   msg     The message that describes the exception.
046    
047         */
048    
049        public TransactionAbortedException(String msg)
050    
051        {
052    
053            super(msg);
054    
055        }
056    
057    }
058