Package org.eclipse.jgit.errors
Class CommandFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.errors.CommandFailedException
-
- All Implemented Interfaces:
Serializable
public class CommandFailedException extends Exception
Thrown when an external command failed- Since:
- 4.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommandFailedException(int returnCode, String message)
Constructor for CommandFailedExceptionCommandFailedException(int returnCode, String message, 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-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CommandFailedException
public CommandFailedException(int returnCode, String message)
Constructor for CommandFailedException- Parameters:
returnCode
- return code returned by the commandmessage
- error message
-
-