Browse Source

Tweak exception Javadoc to be eclipse-clean

Bug: 469887
Change-Id: Ic189efc50d9c1f573dda0c79e5b0dad0813a5577
Signed-off-by: Jonathan Nieder <jrn@google.com>
stable-4.1
Jonathan Nieder 10 years ago
parent
commit
3b7ca2b8a8
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java
  2. 3
      org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java

1
org.eclipse.jgit/src/org/eclipse/jgit/errors/DiffInterruptedException.java

@ -69,6 +69,7 @@ public class DiffInterruptedException extends RuntimeException {
super(message);
}
/** Indicates that the thread computing a diff was interrupted. */
public DiffInterruptedException() {
super();
}

3
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/ServiceNotAuthorizedException.java

@ -50,7 +50,7 @@ import org.eclipse.jgit.internal.JGitText;
* the current user has not provided.
* <p>
* This corresponds to response code
* {@link javax.servlet.http.HttpServletResponse#SC_UNAUTHORIZED}.
* {@code HttpServletResponse.SC_UNAUTHORIZED}.
*/
public class ServiceNotAuthorizedException extends Exception {
private static final long serialVersionUID = 1L;
@ -72,6 +72,7 @@ public class ServiceNotAuthorizedException extends Exception {
super(message);
}
/** Indicates that the requested service requires authentication. */
public ServiceNotAuthorizedException() {
super(JGitText.get().unauthorized);
}

Loading…
Cancel
Save