Class LeadershipLostException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.flink.util.FlinkException
-
- org.apache.flink.runtime.leaderelection.LeaderElectionException
-
- org.apache.flink.runtime.leaderelection.LeadershipLostException
-
- All Implemented Interfaces:
Serializable
public class LeadershipLostException extends LeaderElectionException
This exception is used in the scenario that the leadership is lost.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LeadershipLostException(String message)
LeadershipLostException(String message, Throwable cause)
LeadershipLostException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-