public class TransactionInProgressException extends JMSException
Session.commit when a session is part of a distributed transaction should throw a
 TransactionInProgressException.| Constructor and Description | 
|---|
| TransactionInProgressException(String reason)Constructs a  TransactionInProgressExceptionwith the specified reason. | 
| TransactionInProgressException(String reason,
                              String errorCode)Constructs a  TransactionInProgressExceptionwith the specified reason and error code. | 
getErrorCode, getLinkedException, setLinkedExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TransactionInProgressException(String reason, String errorCode)
TransactionInProgressException with the specified reason and error code.reason - a description of the exceptionerrorCode - a string specifying the vendor-specific error codepublic TransactionInProgressException(String reason)
TransactionInProgressException with the specified reason. The error code defaults to null.reason - a description of the exceptionCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.