Class ServiceNotAuthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.transport.resolver.ServiceNotAuthorizedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceNotAuthorizedException extends java.lang.Exception
Indicates that the requested service requires authentication that the current user has not provided.This corresponds to response code
HttpServletResponse.SC_UNAUTHORIZED
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ServiceNotAuthorizedException()
Indicates that the requested service requires authentication.ServiceNotAuthorizedException(java.lang.String message)
Constructor for ServiceNotAuthorizedException.ServiceNotAuthorizedException(java.lang.String message, java.lang.Throwable cause)
Constructor for ServiceNotAuthorizedException.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException(java.lang.String message, java.lang.Throwable cause)
Constructor for ServiceNotAuthorizedException.- Parameters:
message
- error messagecause
- aThrowable
object.- Since:
- 4.1
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException(java.lang.String message)
Constructor for ServiceNotAuthorizedException.- Parameters:
message
- error message- Since:
- 4.1
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException()
Indicates that the requested service requires authentication.
-
-