| Modifier and Type | Field and Description |
|---|---|
| private final String | hookName
The hook that caused this exception. |
| private final String | hookStdErr
The stderr output of the hook. |
| private final int | returnCode
The process result. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AbortedByHookException(String
The error details from the stderr output of the hook hookStdErr, String The name of the hook that interrupted the command, must not be
null. hookName, int The return code of the hook process that has been run. returnCode)Constructor for AbortedByHookException |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: A string containing the complete stderr output of the hook.Get the stderr output of the hook. |
| public int |
| hookName | back to summary |
|---|---|
| private final String hookName The hook that caused this exception. | |
| hookStdErr | back to summary |
|---|---|
| private final String hookStdErr The stderr output of the hook. | |
| returnCode | back to summary |
|---|---|
| private final int returnCode The process result. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| AbortedByHookException | back to summary |
|---|---|
| public AbortedByHookException(String hookStdErr, String hookName, int returnCode) Constructor for AbortedByHookException | |
| getHookName | back to summary |
|---|---|
| public String getHookName() Get hook name
| |
| getHookStdErr | back to summary |
|---|---|
| public String getHookStdErr() Get the stderr output of the hook.
| |
| getReturnCode | back to summary |
|---|---|
| public int getReturnCode() Get return code
| |