Name

LocalTransactionException

Synopsis

This exception is thrown when an error occurs in the management of local transactions, such an attempt to start a transaction within an existing transaction context, or attempting to call LocalTransaction.commit() without an existing transaction context.

                  Returned By
public class LocalTransactionException extends ResourceException {
// Public Constructors
   public LocalTransactionException( String reason);  
   public LocalTransactionException(String reason, 
        String errorCode);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.