public class TransactionRolledBackException extends JMSException
 This exception must be thrown when a 
     call to Session.commit results in a rollback of the current 
     transaction.
| Constructor and Description | 
|---|
| TransactionRolledBackException(String reason)Constructs a  TransactionRolledBackExceptionwith the 
  specified reason. | 
| TransactionRolledBackException(String reason,
                              String errorCode)Constructs a  TransactionRolledBackExceptionwith the 
  specified reason and error code. | 
getErrorCode, getLinkedException, setLinkedExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TransactionRolledBackException(String reason, String errorCode)
TransactionRolledBackException with the 
  specified reason and error code.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific
                        error codepublic TransactionRolledBackException(String reason)
TransactionRolledBackException with the 
  specified reason. The error code defaults to null.reason - a description of the exceptionCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.