Examples of NoTransactionException


Examples of cern.entwined.exception.NoTransactionException

     * @throws MemoryException if there is no running transaction.
     */
    protected BaseSnapshot<T> getBaseSnapshot() {
        LinkedList<BaseSnapshot<T>> stack = this.getSnapshotStack();
        if (stack.isEmpty()) {
            throw new NoTransactionException("There is no running transaction, cannot access the base snapshot");
        }
        return stack.peek();
    }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      throw new DuplicateParticipantException();
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
  catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
  {
      throw new InvalidParticipantException();
  }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      throw new DuplicateSynchronizationException();
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
  catch (com.arjuna.mw.wscf.exceptions.InvalidParticipantException ex)
  {
      throw new InvalidSynchronizationException();
  }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      throw new HeuristicHazardException(ex.toString());
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
  catch (NoPermissionException ex)
  {
      throw new InvalidTransactionException(ex.toString());
  }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      throw new HeuristicHazardException(ex.toString());
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
  catch (NoPermissionException ex)
  {
      throw new InvalidTransactionException(ex.toString());
  }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      return _theCoordinator.activityName();
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
    }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      return _theCoordinator.qualifiers();
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
    }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

  {
      _theCoordinator.setCompletionStatus(FailureOnly.instance());
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
    }
View Full Code Here

Examples of com.arjuna.mw.wstx.exceptions.NoTransactionException

    return null;
      }
  }
  catch (NoActivityException ex)
  {
      throw new NoTransactionException();
  }
    }
View Full Code Here

Examples of com.baasbox.exception.NoTransactionException

      if (tranCount.get()<0) throw new RuntimeException("Commit without transaction!");
      if (tranCount.get()==0) {
        db.commit();
        db.getTransaction().close();
     
    }else throw new NoTransactionException("There is no open transaction to commit");
    if (Logger.isDebugEnabled()) Logger.debug("Commit Transaction: transaction count -after-: " + tranCount.get());

  }
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.