/* * JBoss, the OpenSource EJB server * * Distributable under LGPL license. * See terms of license at gnu.org. */ package javax.transaction; /** * The RollbackException exception indicates that either the transaction * has been rolled back or an operation cannot complete because the * transaction is marked for rollback only. *
* It is thrown under two circumstances: *
commit method will roll
* back the transaction and throw this exception to indicate that the
* transaction could not be committed.
* RollbackException without a detail message.
*/
public RollbackException()
{
}
/**
* Constructs an RollbackException with the specified
* detail message.
*
* @param msg the detail message.
*/
public RollbackException(String msg)
{
super(msg);
}
}