/** * Construct a NoMergeBase exception * * @param reason * the reason why no merge base could be found * @param message * a text describing the problem */ public NoMergeBaseException(MergeBaseFailureReason reason, String message) { super(MessageFormat.format(JGitText.get().noMergeBase, reason.toString(), message)); this.reason = reason; }
/** * Construct a NoMergeBase exception * * @param reason * the reason why no merge base could be found * @param message * a text describing the problem * @param why * an exception causing this error */ public NoMergeBaseException(MergeBaseFailureReason reason, String message, Throwable why) { super(MessageFormat.format(JGitText.get().noMergeBase, reason.toString(), message)); this.reason = reason; initCause(why); }
/** * Construct a NoMergeBase exception * * @param reason * the reason why no merge base could be found * @param message * a text describing the problem */ public NoMergeBaseException(MergeBaseFailureReason reason, String message) { super(MessageFormat.format(JGitText.get().noMergeBase, reason.toString(), message)); this.reason = reason; }
/** * Construct a NoMergeBase exception * * @param reason * the reason why no merge base could be found * @param message * a text describing the problem * @param why * an exception causing this error */ public NoMergeBaseException(MergeBaseFailureReason reason, String message, Throwable why) { super(MessageFormat.format(JGitText.get().noMergeBase, reason.toString(), message)); this.reason = reason; initCause(why); }
/** * Construct a NoMergeBase exception * * @param reason * the reason why no merge base could be found * @param message * a text describing the problem * @param why * an exception causing this error */ public NoMergeBaseException(MergeBaseFailureReason reason, String message, Throwable why) { super(MessageFormat.format(JGitText.get().noMergeBase, reason.toString(), message)); this.reason = reason; initCause(why); }
/** * Construct a NoMergeBase exception * * @param reason * the reason why no merge base could be found * @param message * a text describing the problem */ public NoMergeBaseException(MergeBaseFailureReason reason, String message) { super(MessageFormat.format(JGitText.get().noMergeBase, reason.toString(), message)); this.reason = reason; }