From 47a9b996c75421e1d7f4dafdc0825bfe9938e94e Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Mon, 8 Oct 2012 06:27:30 +0200 Subject: [PATCH] Add a hint on the purpose of JGitInternalException to the constructor In code review we often see uses of JGitInternalException where a high level GitAPIException would be more appropriate. Hopefully the word low-level in the constructor comment will lead to fewer such cases. Change-Id: Id5ec7897535f6c5c5f0bd153fe0ff15c65083474 --- .../org/eclipse/jgit/api/errors/JGitInternalException.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/JGitInternalException.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/JGitInternalException.java index 9042daddc..ca562005f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/JGitInternalException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/JGitInternalException.java @@ -60,6 +60,8 @@ public class JGitInternalException extends RuntimeException { private static final long serialVersionUID = 1L; /** + * Construct an exception for low-level internal exceptions + * * @param message * @param cause */ @@ -68,6 +70,8 @@ public class JGitInternalException extends RuntimeException { } /** + * Construct an exception for low-level internal exceptions + * * @param message */ public JGitInternalException(String message) {