public class FilterFailedException extends GitAPIException
Constructor and Description |
---|
FilterFailedException(Exception cause,
String filterCommand,
String path)
Thrown if during execution of filter command an exception occurred
|
FilterFailedException(int rc,
String filterCommand,
String path,
byte[] stdout,
String stderr)
Thrown if a filter command returns a non-zero return code
|
Modifier and Type | Method and Description |
---|---|
String |
getError()
Get error
|
String |
getFilterCommand()
Get filter command
|
byte[] |
getOutput()
Get output
|
String |
getPath()
Get path
|
int |
getReturnCode()
Get return code
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FilterFailedException(Exception cause, String filterCommand, String path)
cause
- the exceptionfilterCommand
- the command which failedpath
- the path processed by the filterpublic FilterFailedException(int rc, String filterCommand, String path, byte[] stdout, String stderr)
rc
- the return codefilterCommand
- the command which failedpath
- the path processed by the filterstdout
- the output the filter generated so far. This should be limited
to reasonable size.stderr
- the stderr output of the filterpublic String getFilterCommand()
public String getPath()
public byte[] getOutput()
public String getError()
public int getReturnCode()
Copyright © 2019 Eclipse JGit Project. All rights reserved.