java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.NoMergeBaseException
- All Implemented Interfaces:
Serializable
Exception thrown if a merge fails because no merge base could be determined.
- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
An enum listing the different reason why no merge base could be determined. -
Constructor Summary
ConstructorsConstructorDescriptionNoMergeBaseException
(NoMergeBaseException.MergeBaseFailureReason reason, String message) Construct a NoMergeBase exceptionNoMergeBaseException
(NoMergeBaseException.MergeBaseFailureReason reason, String message, Throwable why) Construct a NoMergeBase exception -
Method Summary
Modifier and TypeMethodDescriptionGet the reason why no merge base could be foundMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoMergeBaseException
Construct a NoMergeBase exception- Parameters:
reason
- the reason why no merge base could be foundmessage
- a text describing the problem
-
NoMergeBaseException
public NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason, String message, Throwable why) Construct a NoMergeBase exception- Parameters:
reason
- the reason why no merge base could be foundmessage
- a text describing the problemwhy
- an exception causing this error
-
-
Method Details
-
getReason
Get the reason why no merge base could be found- Returns:
- the reason why no merge base could be found
-