Class AuthenticationException

    • Constructor Detail

      • AuthenticationException

        public AuthenticationException​(com.okta.sdk.error.Error error)
      • AuthenticationException

        public AuthenticationException​(com.okta.sdk.resource.ResourceException e)
    • Method Detail

      • getStatus

        public int getStatus()
        Specified by:
        getStatus in interface com.okta.sdk.error.Error
      • getCode

        public String getCode()
        Get the Okta Error Code, click here for the list of Okta error codes.
        Specified by:
        getCode in interface com.okta.sdk.error.Error
        Returns:
        the code of the error
      • getId

        public String getId()
        Specified by:
        getId in interface com.okta.sdk.error.Error
      • getCauses

        public List<com.okta.sdk.error.ErrorCause> getCauses()
        Specified by:
        getCauses in interface com.okta.sdk.error.Error
      • getHeaders

        public Map<String,​List<String>> getHeaders()
        Specified by:
        getHeaders in interface com.okta.sdk.error.Error