Package org.jboss.test.jca.interfaces

Examples of org.jboss.test.jca.interfaces.XAExceptionSession.testXAExceptionToTransactionRolledbackException()


   {
      XAExceptionSessionHome xh = (XAExceptionSessionHome)getInitialContext().lookup("test/XAExceptionSessionHome");
      XAExceptionSession x = xh.create();
      try
      {
         x.testXAExceptionToTransactionRolledbackException();
      }
      catch (TransactionRolledbackException tre)
      {
         getLog().info("testXAExceptionToRollbackException passed");
         return;
View Full Code Here


         XAExceptionSessionHome xh = (XAExceptionSessionHome) new InitialContext()
               .lookup("test/XAExceptionSessionHome");
         XAExceptionSession x = xh.create();
         try
         {
            x.testXAExceptionToTransactionRolledbackException();
         }
         catch (TransactionRolledbackException tre)
         {
            log.info("Test worked");
            return;
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.