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
public class MessageSliceException extends Exception
An exception indicating a message slice failure.- Author:
- Thomas Pantelis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageSliceException(String message, boolean isRetriable)
Constructs an instance.MessageSliceException(String message, Throwable cause)
Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRetriable()
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 Detail
-
MessageSliceException
public MessageSliceException(String message, Throwable cause)
Constructs an instance.- Parameters:
message
- the detail messagecause
- the cause
-
MessageSliceException
public MessageSliceException(String message, boolean isRetriable)
Constructs an instance.- Parameters:
message
- the detail messageisRetriable
- if true, indicates the original operation can be retried
-
-