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
public TransactionRolledBackException(String reason, String errorCode)(Code)
Constructs a TransactionRolledBackException with the
specified reason and error code.
Parameters: reason - a description of the exception Parameters: errorCode - a string specifying the vendor-specificerror code
TransactionRolledBackException
public TransactionRolledBackException(String reason)(Code)
Constructs a TransactionRolledBackException with the
specified reason. The error code defaults to null.
Parameters: reason - a description of the exception