Package com.eventstore.dbclient
Class NotLeaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.eventstore.dbclient.NotLeaderException
-
- All Implemented Interfaces:
java.io.Serializable
public class NotLeaderException extends java.lang.Exception
When a request needing a leader node was executed on a follower node. In this case the connection will reconnect automatically to the leader node. However, the request causing that exception needs to be retried if the user really wants it to be carried out.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetSocketAddress
getLeaderEndpoint()
-