Class NotLeaderException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotLeaderException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NotLeaderException​(java.lang.String host, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Endpoint getLeaderEndpoint()  
      • 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

      • NotLeaderException

        public NotLeaderException​(java.lang.String host,
                                  int port)
    • Method Detail

      • getLeaderEndpoint

        public Endpoint getLeaderEndpoint()