Top Description Fields Constructors
org.eclipse.jgit.transport.resolver

public Class ServiceNotAuthorizedException

extends Exception
Class Inheritance
Imports
org.eclipse.jgit.internal.JGitText

Indicates that the requested service requires authentication that the current user has not provided.

This corresponds to response code HttpServletResponse.SC_UNAUTHORIZED.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ServiceNotAuthorizedException(String
error message
message
,
Throwable cause)

Constructor for ServiceNotAuthorizedException.

public
ServiceNotAuthorizedException(String
error message
message
)

Constructor for ServiceNotAuthorizedException.

public
ServiceNotAuthorizedException()

Indicates that the requested service requires authentication.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

ServiceNotAuthorizedExceptionback to summary
public ServiceNotAuthorizedException(String message, Throwable cause)

Constructor for ServiceNotAuthorizedException.

Parameters
message:String

error message

cause:Throwable

a java.lang.Throwable object.

Since
4.1
ServiceNotAuthorizedExceptionback to summary
public ServiceNotAuthorizedException(String message)

Constructor for ServiceNotAuthorizedException.

Parameters
message:String

error message

Since
4.1
ServiceNotAuthorizedExceptionback to summary
public ServiceNotAuthorizedException()

Indicates that the requested service requires authentication.