Class ServiceNotAuthorizedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.transport.resolver.ServiceNotAuthorizedException
All Implemented Interfaces:
Serializable

public class ServiceNotAuthorizedException extends 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:
  • Field Details

  • Constructor Details

    • ServiceNotAuthorizedException

      public ServiceNotAuthorizedException(String message, Throwable cause)
      Constructor for ServiceNotAuthorizedException.
      Parameters:
      message - error message
      cause - a Throwable object.
      Since:
      4.1
    • ServiceNotAuthorizedException

      public ServiceNotAuthorizedException(String message)
      Constructor for ServiceNotAuthorizedException.
      Parameters:
      message - error message
      Since:
      4.1
    • ServiceNotAuthorizedException

      public ServiceNotAuthorizedException()
      Indicates that the requested service requires authentication.