Class NotLeaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opendaylight.controller.cluster.access.concepts.RequestException
-
- org.opendaylight.controller.cluster.access.commands.NotLeaderException
-
- All Implemented Interfaces:
Serializable
@Beta public final class NotLeaderException extends RequestException
General error raised when the recipient of a Request is not the correct backend to talk to. This typically means that the backend processing has moved and the frontend needs to run rediscovery and retry the request.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotLeaderException(akka.actor.ActorRef me)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRetriable()
-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.RequestException
unwrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isRetriable
public boolean isRetriable()
- Specified by:
isRetriable
in classRequestException
-
-