public class FilterFailedException extends GitAPIException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
filterCommand |
private java.lang.String |
path |
private int |
rc |
private static long |
serialVersionUID |
private java.lang.String |
stderr |
private byte[] |
stdout |
| Constructor and Description |
|---|
FilterFailedException(java.lang.Exception cause,
java.lang.String filterCommand,
java.lang.String path)
Thrown if during execution of filter command an exception occurred
|
FilterFailedException(int rc,
java.lang.String filterCommand,
java.lang.String path,
byte[] stdout,
java.lang.String stderr)
Thrown if a filter command returns a non-zero return code
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getError()
Get error
|
java.lang.String |
getFilterCommand()
Get filter command
|
byte[] |
getOutput()
Get output
|
java.lang.String |
getPath()
Get path
|
int |
getReturnCode()
Get return code
|
private static final long serialVersionUID
private java.lang.String filterCommand
private java.lang.String path
private byte[] stdout
private java.lang.String stderr
private int rc
public FilterFailedException(java.lang.Exception cause,
java.lang.String filterCommand,
java.lang.String path)
cause - the exceptionfilterCommand - the command which failedpath - the path processed by the filterpublic FilterFailedException(int rc,
java.lang.String filterCommand,
java.lang.String path,
byte[] stdout,
java.lang.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 java.lang.String getFilterCommand()
public java.lang.String getPath()
public byte[] getOutput()
public java.lang.String getError()
public int getReturnCode()