Package org.eclipse.jgit.errors
Class CommandFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.errors.CommandFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class CommandFailedException extends java.lang.Exception
Thrown when an external command failed- Since:
- 4.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
returnCode
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CommandFailedException(int returnCode, java.lang.String message)
Constructor for CommandFailedExceptionCommandFailedException(int returnCode, java.lang.String message, java.lang.Throwable cause)
Constructor for CommandFailedException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getReturnCode()
Get return code returned by the command
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
returnCode
private int returnCode
-
-
Constructor Detail
-
CommandFailedException
public CommandFailedException(int returnCode, java.lang.String message)
Constructor for CommandFailedException- Parameters:
returnCode
- return code returned by the commandmessage
- error message
-
CommandFailedException
public CommandFailedException(int returnCode, java.lang.String message, java.lang.Throwable cause)
Constructor for CommandFailedException- Parameters:
returnCode
- return code returned by the commandmessage
- error messagecause
- exception causing this exception
-
-