com.ibm.oauth.core.api.error.oauth20

Class OAuth20AccessDeniedException

  • All Implemented Interfaces:
    java.io.Serializable


    public class OAuth20AccessDeniedException
    extends OAuth20Exception
    Represents an authorization exception to access protected resources.
    See Also:
    Serialized Form
    • Constructor Detail

      • OAuth20AccessDeniedException

        public OAuth20AccessDeniedException()
        Creates a OAuth20AccessDeniedException.
      • OAuth20AccessDeniedException

        public OAuth20AccessDeniedException(java.lang.String msgKey)
    • Method Detail

      • formatSelf

        public java.lang.String formatSelf(java.util.Locale locale,
                                  java.lang.String encoding)
        Overrides:
        formatSelf in class OAuth20Exception
      • setHttpStatusCode

        public void setHttpStatusCode(int iHttpStatusCode)
      • getHttpStatusCode

        public int getHttpStatusCode()