public class MessagingError extends Object
The messaging error.
Constructor and Description |
---|
MessagingError(Exception error,
boolean recoverable)
Creates a MessagingError with the given error and recoverable flag identifying
if the error is recoverable or not.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getError()
Gets error object.
|
boolean |
isRecoverable()
Is the error recoverable?
|
public MessagingError(@NonNull Exception error, boolean recoverable)
error
- the errorrecoverable
- the recoverable flagpublic Exception getError()
public boolean isRecoverable()