Examples of TransactionException


Examples of org.jboss.messaging.core.impl.tx.TransactionException

                       addReferenceInMemory(ref);
                    }
                 }
                 catch (Throwable t)
                 {
                    throw new TransactionException("Failed to add reference", t);
                 }

                 //Only need to prompt delivery if refs were added
                 promptDelivery = true;
               }
View Full Code Here

Examples of org.jboss.messaging.core.tx.TransactionException

      if (persistent != null)
      {
         //Only used in testing
         if (failAfterCommit)
         {
            throw new TransactionException("Forced failure for testing");
         }
        
         // Cast a commit message
         ClusterRequest req = new SendTransactionRequest(nodeId, txId);
        
View Full Code Here

Examples of org.jboss.messaging.core.tx.TransactionException

      }
     
      //Only used in testing
      if (failBeforeCommit)
      {
         throw new TransactionException("Forced failure for testing");
      }
   }
View Full Code Here

Examples of org.jboss.messaging.core.tx.TransactionException

                     addReferenceInMemory(ref);
                  }
               }
               catch (Throwable t)
               {
                  throw new TransactionException("Failed to add reference", t);
               }
            }

            // Remove deliveries
           
View Full Code Here

Examples of org.jboss.narayana.blacktie.jatmibroker.jab.TransactionException

      throws TransactionException {
    this.connection = connection;
    try {
      this.jabTransaction = new JABTransaction(session, timeout);
    } catch (Throwable e) {
      throw new TransactionException("Could not create the transaction: "
          + e.getMessage(), e);
    }
  }
View Full Code Here

Examples of org.jboss.seam.TransactionException

            Transactions.getUserTransaction().begin();
         }
      }
      catch (Exception e)
      {
         throw new TransactionException("Could not start transaction", e);
      }
   }
View Full Code Here

Examples of org.mule.api.transaction.TransactionException

        {
            ((Session)resource).commit();
        }
        catch (JMSException e)
        {
            throw new TransactionException(CoreMessages.transactionCommitFailed(), e);
        }
    }
View Full Code Here

Examples of org.ow2.easybeans.tests.common.exception.TransactionException

                tableManager.deleteTable(TABLE);
            }
            utx.commit();
        } catch (Exception e) {
            utx.rollback();
            throw new TransactionException("Error during commit.", e);
        }

    }
View Full Code Here

Examples of org.ow2.easybeans.tests.common.exception.TransactionException

                tableManager.insertTable(TABLE);
            }
            utx.commit();
        } catch (Exception e) {
            utx.rollback();
            throw new TransactionException("Error during commit.", e);
        }

    }
View Full Code Here

Examples of org.ow2.easybeans.tests.common.exception.TransactionException

        insertTable(dbName1);
        insertTable(dbName2);
        try {
            ctx.setRollbackOnly();
        } catch (IllegalStateException e) {
            throw new TransactionException("There was an exception in the getRollbackOnly", e);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.