Examples of simulateError()


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

   {
      XAExceptionSessionHome xh = (XAExceptionSessionHome)getInitialContext().lookup("test/XAExceptionSessionHome");
      XAExceptionSession x = xh.create();
      try
      {
         x.simulateError("getConnectionResource", 10);
      }
      finally
      {
         flushConnections();
      }
View Full Code Here

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

   {
      XAExceptionSessionHome xh = (XAExceptionSessionHome)getInitialContext().lookup("test/XAExceptionSessionHome");
      XAExceptionSession x = xh.create();
      try
      {
         x.simulateError("getConnectionRuntime", 10);
      }
      finally
      {
         flushConnections();
      }
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.