Package com.suse.salt.netapi.errors
Class SaltSSHError
- java.lang.Object
-
- com.suse.salt.netapi.errors.SaltSSHError
-
-
Constructor Summary
Constructors Constructor Description SaltSSHError(int retcode, String message)
-
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, Function<SaltSSHError,? extends T> saltSSHError)
String
getMessage()
int
getRetcode()
String
toString()
-
-
-
Constructor Detail
-
SaltSSHError
public SaltSSHError(int retcode, String message)
-
-
Method Detail
-
getRetcode
public int getRetcode()
-
getMessage
public String getMessage()
-
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, Function<SaltSSHError,? extends T> saltSSHError)
-
-