/*
 * TransactionException.java
 *
 * Created on 4 de agosto de 2004, 10:53
 */

package com.fenalco.utilities.database;

/**
 *
 * @author  Andrés Romero Rodríguez
 * 
 * esta excepción se usa para indicar que no se ha podido completar una transacción,
 */
public class TransactionException extends java.lang.Exception
{
    
    /**
     * Creates a new instance of <code>TransactionException</code> without detail message.
     */
    public TransactionException()
    {
        super( "Can't execute transaction, Rolled Back" );
    }
    
    
    /**
     * Constructs an instance of <code>TransactionException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public TransactionException(String msg)
    {
        super( "Can't execute transaction " + msg);
    }
}
