catch (VcsException e) {
if (e.getMessage().contains("exists on disk, but not in")) {
fileDoesntExistInBranchError(myProject, myFile, branchToCompare);
} else {
GitUIUtil.notifyError(myProject, "Couldn't compare with branch",
<BUG>"Couldn't compare file [" + myFile + "] with selected branch [" + myList.getSelectedValue() + "]",
</BUG>
false, e);
}
}

catch (VcsException e) {
if (e.getMessage().contains("exists on disk, but not in")) {
fileDoesntExistInBranchError(myProject, myFile, branchToCompare);
} else {
GitUIUtil.notifyError(myProject, "Couldn't compare with branch",
String.format("Couldn't compare file [%s] with selected branch [%s]", myFile, myList.getSelectedValue()),
false, e);
