public class FailureImpl extends Object implements Failure
| Constructor and Description |
|---|
FailureImpl(boolean error,
String message,
String stackTrace,
Throwable cause) |
FailureImpl(JsonObject json) |
FailureImpl(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
cause() |
boolean |
isError() |
String |
message() |
String |
stackTrace() |
JsonObject |
toJson() |
public FailureImpl(JsonObject json)
public FailureImpl(Throwable t)
public boolean isError()
public String message()
public String stackTrace()
stackTrace in interface Failurepublic Throwable cause()
public JsonObject toJson()
Copyright © 2020. All rights reserved.