Modifier and Type | Field and Description |
---|---|
private com.google.gson.JsonElement |
json |
private java.lang.Throwable |
throwable |
Constructor and Description |
---|
JsonParsingError(com.google.gson.JsonElement json,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
<T> T |
fold(java.util.function.Function<FunctionNotAvailable,? extends T> fnNotAvail,
java.util.function.Function<ModuleNotSupported,? extends T> modNotSupported,
java.util.function.Function<JsonParsingError,? extends T> jsonError,
java.util.function.Function<GenericError,? extends T> generic,
java.util.function.Function<SaltSSHError,? extends T> saltSSHError) |
com.google.gson.JsonElement |
getJson() |
java.lang.Throwable |
getThrowable() |
int |
hashCode() |
java.lang.String |
toString() |
private final com.google.gson.JsonElement json
private final java.lang.Throwable throwable
public JsonParsingError(com.google.gson.JsonElement json, java.lang.Throwable throwable)
public com.google.gson.JsonElement getJson()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Throwable getThrowable()
public <T> T fold(java.util.function.Function<FunctionNotAvailable,? extends T> fnNotAvail, java.util.function.Function<ModuleNotSupported,? extends T> modNotSupported, java.util.function.Function<JsonParsingError,? extends T> jsonError, java.util.function.Function<GenericError,? extends T> generic, java.util.function.Function<SaltSSHError,? extends T> saltSSHError)
public java.lang.String toString()
toString
in class java.lang.Object