javax.transaction.InvalidTransactionException Maven / Gradle / Ivy
package javax.transaction;
import java.rmi.RemoteException;
/**
* This exception indicates an invalid transaction.
*
* It is thrown from the {@link TransactionManager#resume(Transaction)}
* method if the argument is not a valid transaction.
* It may also be thrown from an EJB container invocation is the invocation
* request carries an invalid transaction propagation context.
*
* @version $Revision$
*/
public class InvalidTransactionException extends RemoteException
{
/**
* Creates a new InvalidTransactionException
without a
* detail message.
*/
public InvalidTransactionException()
{
}
/**
* Constructs an InvalidTransactionException
with the
* specified detail message.
*
* @param msg the detail message.
*/
public InvalidTransactionException(String msg)
{
super(msg);
}
}