List of usage examples for javax.jms TransactionInProgressException TransactionInProgressException
public TransactionInProgressException(String reason)
From source file:org.wso2.andes.client.XASession_9_1.java
/** * Throws a {@link TransactionInProgressException}, since it should * not be called for an XASession object. * * @throws TransactionInProgressException always. *//*from w w w.j av a 2s .co m*/ public void commit() throws JMSException { throw new TransactionInProgressException( "XASession: A direct invocation of the commit operation is prohibited!"); }
From source file:org.wso2.andes.client.XASession_9_1.java
/** * Throws a {@link TransactionInProgressException}, since it should * not be called for an XASession object. * * @throws TransactionInProgressException always. *///from ww w . java 2s . c o m public void rollback() throws JMSException { throw new TransactionInProgressException( "XASession: A direct invocation of the rollback operation is prohibited!"); }
From source file:org.wso2.andes.client.XASession_9_1.java
/** * Throws a {@link TransactionInProgressException}, since it should * not be called for an XASession object. * * @throws TransactionInProgressException always. *//* ww w .j a va 2 s. c o m*/ public void recover() throws JMSException { throw new TransactionInProgressException( "XASession: A direct invocation of the recover operation is prohibited!"); }