Class NotAuthorizedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotAuthorizedException
    extends RESTException
    Exception thrown on HTTP 401 Unauthorized. The user is either not authenticated or failed authorization checks.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NotAuthorizedException​(java.lang.String message, java.lang.Object... args)  
      NotAuthorizedException​(java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)  
    • 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

      • NotAuthorizedException

        @FormatMethod
        public NotAuthorizedException​(java.lang.String message,
                                      java.lang.Object... args)
      • NotAuthorizedException

        @FormatMethod
        public NotAuthorizedException​(java.lang.Throwable cause,
                                      java.lang.String message,
                                      java.lang.Object... args)