use of com.sun.messaging.jms.MQTransactionRolledBackRuntimeException in project openmq by eclipse-ee4j.
the class JMSContextImpl method commit.
@Override
public void commit() {
checkNotClosed();
disallowSetClientID();
try {
session.commit();
} catch (TransactionRolledBackException e) {
throw new MQTransactionRolledBackRuntimeException(e);
} catch (TransactionInProgressException e) {
throw new MQTransactionInProgressRuntimeException(e);
} catch (IllegalStateException e) {
throw new MQIllegalStateRuntimeException(e);
} catch (JMSException e) {
throw new MQRuntimeException(e);
}
}
Aggregations