public class CommandFailedException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private int |
returnCode |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
CommandFailedException(int returnCode,
java.lang.String message)
Constructor for CommandFailedException
|
CommandFailedException(int returnCode,
java.lang.String message,
java.lang.Throwable cause)
Constructor for CommandFailedException
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReturnCode()
Get return code returned by the command
|
private static final long serialVersionUID
private int returnCode
public CommandFailedException(int returnCode,
java.lang.String message)
returnCode - return code returned by the commandmessage - error messagepublic CommandFailedException(int returnCode,
java.lang.String message,
java.lang.Throwable cause)
returnCode - return code returned by the commandmessage - error messagecause - exception causing this exception