java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.internal.diffmergetool.ToolException
- All Implemented Interfaces:
Serializable
Tool exception for differentiation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionToolException(String message) ToolException(String message, Throwable cause) ToolException(String message, FS.ExecutionResult result, boolean commandExecutionError) ToolException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ToolException
public ToolException() -
ToolException
- Parameters:
message- the exception message
-
ToolException
- Parameters:
message- the exception messageresult- the execution resultcommandExecutionError- is command execution error happened ?
-
ToolException
- Parameters:
message- the exception messagecause- the cause for throw
-
ToolException
- Parameters:
cause- the cause for throw
-
-
Method Details
-
isResult
public boolean isResult()- Returns:
- true if result is valid, false else
-
getResult
- Returns:
- the execution result
-
isCommandExecutionError
public boolean isCommandExecutionError()- Returns:
- true if command execution error appears, false otherwise
-
getResultStderr
- Returns:
- the result Stderr
-
getResultStdout
- Returns:
- the result Stdout
-