Class OauthErrorResponseException

    • Constructor Detail

      • OauthErrorResponseException

        public OauthErrorResponseException​(@NonNull
                                           ErrorCode errorCode)
        Parameters:
        errorCode - the error code
      • OauthErrorResponseException

        public OauthErrorResponseException​(@NonNull
                                           ErrorCode errorCode,
                                           java.lang.String errorDescription,
                                           java.lang.String errorUri)
        Parameters:
        errorCode - The error code
        errorDescription - Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the errorCode that occurred.
        errorUri - URI identifying a human-readable web page with information about the errorCode
    • Method Detail

      • getErrorDescription

        @Nullable
        public java.lang.String getErrorDescription()
        Specified by:
        getErrorDescription in interface ErrorResponse
        Returns:
        Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the errorCode that occurred.
      • getErrorUri

        @Nullable
        public java.lang.String getErrorUri()
        Specified by:
        getErrorUri in interface ErrorResponse
        Returns:
        URI identifying a human-readable web page with information about the errorCode