Package org.objectweb.howl.log

Examples of org.objectweb.howl.log.LogClosedException


 
  private void checkPutEnabled()
  throws LogClosedException
  {
    if (replayNeeded)
      throw new LogClosedException("replay() must be called prior to put(); activeMark [0x" +
          Long.toHexString(super.getActiveMark()) + "]");
  }
View Full Code Here


   
    OpenReplayListener xaListener = new OpenReplayListener(listener);
    try {
      super.replay(xaListener, getActiveMark(), true); // replay CTRL records also
    } catch (InvalidLogKeyException e) {
      throw new LogClosedException(e);
    }
   
    // something very wrong if we come back from replay and we have not cleared the flag.
    if (replayNeeded)
    {
      LogClosedException lce = new LogClosedException(xaListener.replayException);
      throw lce;
    }
  }
View Full Code Here

TOP

Related Classes of org.objectweb.howl.log.LogClosedException

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.