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, java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getJson
public com.google.gson.JsonElement getJson()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getThrowable
public java.lang.Throwable getThrowable()
-
fold
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)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-