Class TooManyRedirectsException

    • Constructor Detail

      • TooManyRedirectsException

        public TooManyRedirectsException​(String message,
                                         HttpResponse response)
        Initializes a new instance of the TooManyRedirectsException class.
        Parameters:
        message - the exception message or the response content if a message is not available
        response - the HTTP response
      • TooManyRedirectsException

        public TooManyRedirectsException​(String message,
                                         HttpResponse response,
                                         Object value)
        Initializes a new instance of the TooManyRedirectsException class.
        Parameters:
        message - the exception message or the response content if a message is not available
        response - the HTTP response
        value - the deserialized response value
      • TooManyRedirectsException

        public TooManyRedirectsException​(String message,
                                         HttpResponse response,
                                         Throwable cause)
        Initializes a new instance of the TooManyRedirectsException class.
        Parameters:
        message - the exception message or the response content if a message is not available
        response - the HTTP response
        cause - the Throwable which caused the creation of this TooManyRedirectsException