public class NoMergeBaseException extends IOException
Modifier and Type | Class and Description |
---|---|
static class |
NoMergeBaseException.MergeBaseFailureReason
An enum listing the different reason why no merge base could be
determined.
|
Constructor and Description |
---|
NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason,
String message)
Construct a NoMergeBase exception
|
NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason,
String message,
Throwable why)
Construct a NoMergeBase exception
|
Modifier and Type | Method and Description |
---|---|
NoMergeBaseException.MergeBaseFailureReason |
getReason()
Get the reason why no merge base could be found
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason, String message)
reason
- the reason why no merge base could be foundmessage
- a text describing the problempublic NoMergeBaseException(NoMergeBaseException.MergeBaseFailureReason reason, String message, Throwable why)
reason
- the reason why no merge base could be foundmessage
- a text describing the problemwhy
- an exception causing this errorpublic NoMergeBaseException.MergeBaseFailureReason getReason()
Copyright © 2017 Eclipse JGit Project. All rights reserved.