Class 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  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServiceNotAuthorizedException

        public ServiceNotAuthorizedException​(java.lang.String message,
                                             java.lang.Throwable cause)
        Constructor for ServiceNotAuthorizedException.
        Parameters:
        message - error message
        cause - a Throwable 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.