Class ServiceNotAuthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.transport.resolver.ServiceNotAuthorizedException
- All Implemented Interfaces:
Serializable
Indicates that the requested service requires authentication that
the current user has not provided.
This corresponds to response code
HttpServletResponse.SC_UNAUTHORIZED
.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIndicates that the requested service requires authentication.ServiceNotAuthorizedException
(String message) Constructor for ServiceNotAuthorizedException.ServiceNotAuthorizedException
(String message, Throwable cause) Constructor for ServiceNotAuthorizedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ServiceNotAuthorizedException
Constructor for ServiceNotAuthorizedException.- Parameters:
message
- error messagecause
- aThrowable
object.- Since:
- 4.1
-
ServiceNotAuthorizedException
Constructor for ServiceNotAuthorizedException.- Parameters:
message
- error message- Since:
- 4.1
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException()Indicates that the requested service requires authentication.
-