Class NotMasterException

  • All Implemented Interfaces:
    java.io.Serializable, Writeable, ToXContent, ToXContentFragment

    public class NotMasterException
    extends ElasticsearchException
    Thrown when a node join request or a master ping reaches a node which is not currently acting as a master or when a cluster state update task is to be executed on a node that is no longer master.
    See Also:
    Serialized Form
    • Constructor Detail

      • NotMasterException

        public NotMasterException​(java.lang.String msg)
      • NotMasterException

        public NotMasterException​(StreamInput in)
                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable