Class Bookie.NoEntryException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    Bookie

    public static class Bookie.NoEntryException
    extends java.io.IOException
    Exception is thrown when no such an entry is found in this bookie.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoEntryException​(long ledgerId, long entryId)  
      NoEntryException​(java.lang.String msg, long ledgerId, long entryId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getEntry()  
      long getLedger()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoEntryException

        public NoEntryException​(long ledgerId,
                                long entryId)
      • NoEntryException

        public NoEntryException​(java.lang.String msg,
                                long ledgerId,
                                long entryId)
    • Method Detail

      • getLedger

        public long getLedger()
      • getEntry

        public long getEntry()