Class MessageSliceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.controller.cluster.messaging.MessageSliceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssemblerClosedException
,AssemblerSealedException
An exception indicating a message slice failure.
- Author:
- Thomas Pantelis
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageSliceException
(String message, boolean isRetriable) Constructs an instance.MessageSliceException
(String message, Throwable cause) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether or not the original operation can be retried.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MessageSliceException
Constructs an instance.- Parameters:
message
- the detail messagecause
- the cause
-
MessageSliceException
Constructs an instance.- Parameters:
message
- the detail messageisRetriable
- if true, indicates the original operation can be retried
-
-
Method Details
-
isRetriable
public boolean isRetriable()Returns whether or not the original operation can be retried.- Returns:
- true if it can be retried, false otherwise
-