public class AbortedByHookException extends GitAPIException
| Constructor and Description | 
|---|
AbortedByHookException(String message,
                      String hookName,
                      int returnCode)
Constructor for AbortedByHookException 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getHookName()
Get hook name 
 | 
String | 
getMessage() | 
int | 
getReturnCode()
Get return code 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbortedByHookException(String message, String hookName, int returnCode)
message - The error details.hookName - 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 getMessage()
getMessage in class ThrowableCopyright © 2020 Eclipse JGit Project. All rights reserved.