FileDocCategorySizeDatePackage
TransactionRolledBackException.javaAPI DocGlassfish v2 API2968Fri May 04 22:36:16 BST 2007javax.jms

TransactionRolledBackException

public class TransactionRolledBackException extends JMSException

This exception must be thrown when a call to Session.commit results in a rollback of the current transaction.

version
26 August 1998
author
Rahul Sharma

Fields Summary
Constructors Summary
public TransactionRolledBackException(String reason, String errorCode)
Constructs a TransactionRolledBackException with the specified reason and error code.

param
reason a description of the exception
param
errorCode a string specifying the vendor-specific error code

    super(reason, errorCode);
  
public TransactionRolledBackException(String reason)
Constructs a TransactionRolledBackException with the specified reason. The error code defaults to null.

param
reason a description of the exception

    super(reason);
  
Methods Summary