public class AbortedByHookException extends GitAPIException
Constructor and Description |
---|
AbortedByHookException(String hookStdErr,
String hookName,
int returnCode)
Constructor for AbortedByHookException
|
Modifier and Type | Method and Description |
---|---|
String |
getHookName()
Get hook name
|
String |
getHookStdErr()
Get the stderr output of the hook.
|
int |
getReturnCode()
Get return code
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AbortedByHookException(String hookStdErr, String hookName, int returnCode)
hookStdErr
- The error details from the stderr output of the hookhookName
- The name of the hook that interrupted the command, must not be
null.returnCode
- The return code of the hook process that has been run.public String getHookName()
public int getReturnCode()
public String getHookStdErr()
Copyright © 2021 Eclipse JGit Project. All rights reserved.