Package org.eclipse.jgit.errors
Class NoMergeBaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.NoMergeBaseException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoMergeBaseException extends java.io.IOException
Exception thrown if a merge fails because no merge base could be determined.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NoMergeBaseException.MergeBaseFailureReason
An enum listing the different reason why no merge base could be determined.
-
Constructor Summary
Constructors Constructor Description NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason, java.lang.String message)
Construct a NoMergeBase exceptionNoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason, java.lang.String message, java.lang.Throwable why)
Construct a NoMergeBase exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NoMergeBaseException.MergeBaseFailureReason
getReason()
-
-
-
Constructor Detail
-
NoMergeBaseException
public NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason, java.lang.String message)
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, java.lang.String message, java.lang.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 Detail
-
getReason
public NoMergeBaseException.MergeBaseFailureReason getReason()
- Returns:
- the reason why no merge base could be found
-
-