Package com.sun.sgs.service

Examples of com.sun.sgs.service.TransactionParticipant.abort()


    public void testAbortNullTxn() throws Exception {
  store.createObject(txn);
  TransactionParticipant participant =
      txn.participants.iterator().next();
  try {
      participant.abort(null);
      fail("Expected NullPointerException");
  } catch (NullPointerException e) {
      System.err.println(e);
  }
    }
View Full Code Here


    public void testAbortNullTxn() throws Exception {
  store.createObject(txn);
  TransactionParticipant participant =
      txn.participants.iterator().next();
  try {
      participant.abort(null);
      fail("Expected NullPointerException");
  } catch (NullPointerException e) {
      System.err.println(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.