public abstract class AbstractFailure extends Object implements Failure
| Modifier and Type | Method and Description |
|---|---|
Throwable |
asError()
Return the original Java Exception, or generate a new one if it does not exists.
|
Optional<byte[]> |
getData() |
Optional<String> |
getDescription() |
String |
getId()
Returns an identifier of this object.
|
String |
getMessage() |
Optional<Throwable> |
getReason() |
String |
toString() |
public String getId()
IdentifiablegetId in interface Identifiablepublic String getMessage()
getMessage in interface Failurepublic Optional<String> getDescription()
getDescription in interface Failurepublic Throwable asError()
Copyright © 2017 The Apache Software Foundation. All rights reserved.