Package com.suse.salt.netapi.errors
Class JsonParsingError
- java.lang.Object
-
- com.suse.salt.netapi.errors.JsonParsingError
-
-
Constructor Summary
Constructors Constructor Description JsonParsingError(com.google.gson.JsonElement json, Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
fold(Function<FunctionNotAvailable,? extends T> fnNotAvail, Function<ModuleNotSupported,? extends T> modNotSupported, Function<JsonParsingError,? extends T> jsonError, Function<GenericError,? extends T> generic)
com.google.gson.JsonElement
getJson()
Throwable
getThrowable()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
JsonParsingError
public JsonParsingError(com.google.gson.JsonElement json, Throwable throwable)
-
-
Method Detail
-
getJson
public com.google.gson.JsonElement getJson()
-
getThrowable
public Throwable getThrowable()
-
fold
public <T> T fold(Function<FunctionNotAvailable,? extends T> fnNotAvail, Function<ModuleNotSupported,? extends T> modNotSupported, Function<JsonParsingError,? extends T> jsonError, Function<GenericError,? extends T> generic)
-
-