| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final Logger | |
| private final FS. | |
| private static final long | serialVersionUID
the serial version UID
|
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ToolException(String
the exception message message, FS.the execution result result,is command execution error happened ? commandExecutionError)Create tool exception |
| public | ToolException(String
the exception message message, Throwable the cause for throw cause)Create tool exception |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FS. | |
| public String | |
| public String | |
| public boolean | Returns: true if command execution error appears, false otherwiseWhether execution failed with an error |
| public boolean |
| commandExecutionError | back to summary |
|---|---|
| private final boolean commandExecutionError | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| result | back to summary |
|---|---|
| private final FS. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. the serial version UID | |
| ToolException | back to summary |
|---|---|
| public ToolException() Create tool exception | |
| ToolException | back to summary |
|---|---|
| public ToolException(String message) Create tool exception
| |
| ToolException | back to summary |
|---|---|
| public ToolException(String message, FS. Create tool exception
| |
| ToolException | back to summary |
|---|---|
| public ToolException(String message, Throwable cause) Create tool exception | |
| ToolException | back to summary |
|---|---|
| public ToolException(Throwable cause) Create tool exception
| |
| getResult | back to summary |
|---|---|
| public FS. Get execution result
| |
| getResultStderr | back to summary |
|---|---|
| public String getResultStderr() Get buffered stderr as a String
| |
| getResultStdout | back to summary |
|---|---|
| public String getResultStdout() Get buffered stdout as a String
| |
| isCommandExecutionError | back to summary |
|---|---|
| public boolean isCommandExecutionError() Whether execution failed with an error
| |
| isResult | back to summary |
|---|---|
| public boolean isResult() Whether result is valid
| |