Package net.jini.core.transaction

Examples of net.jini.core.transaction.UnknownTransactionException


  }

        if (txn == null) {
      final String msg = "unknown transaction [mgr:" + mgr +
    ", id:" + id + "], passed to abort/prepare/commit";
      final UnknownTransactionException ute =
    new UnknownTransactionException(msg);
      if (txnLogger.isLoggable(Levels.FAILED))
    txnLogger.log(Levels.FAILED, msg, ute);
      throw ute;
  }
        return txn;
View Full Code Here


        try {
            return (ServerTransaction) baseTr;
        } catch (ClassCastException e) {
      final String msg = "unexpected transaction type:" +
    baseTr.getClass();
      final UnknownTransactionException ute =
    new UnknownTransactionException(msg);
      if (txnLogger.isLoggable(Levels.FAILED))
    txnLogger.log(Levels.FAILED, msg, ute);
      throw ute;
        }
    }
View Full Code Here

TOP

Related Classes of net.jini.core.transaction.UnknownTransactionException

Copyright © 2018 www.massapicom. 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.