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()
Identifiable
getId
in interface Identifiable
public String getMessage()
getMessage
in interface Failure
public Optional<String> getDescription()
getDescription
in interface Failure
public Throwable asError()
Copyright © 2017 The Apache Software Foundation. All rights reserved.