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