Table of Contents

Class TooManyRedirectsException

Namespace
Xping.Sdk.Core.Clients.Browser
Assembly
Xping.Sdk.Core.dll

Represents errors that occur when an HTTP request is redirected more times than the set limit.

public class TooManyRedirectsException : WebException, ISerializable
Inheritance
TooManyRedirectsException
Implements
Inherited Members

Remarks

This exception is thrown when an HTTP operation encounters more redirects than the application allows. It inherits from the WebException class and adds no new functionality; instead, it provides a more specific exception type to handle excessive HTTP redirection scenarios.

Constructors

TooManyRedirectsException()

Initializes a new instance of the TooManyRedirectsException class.

public TooManyRedirectsException()

TooManyRedirectsException(string)

Initializes a new instance of the TooManyRedirectsException class with a specified error message.

public TooManyRedirectsException(string message)

Parameters

message string

The message that describes the error.

TooManyRedirectsException(string, Exception)

Initializes a new instance of the TooManyRedirectsException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public TooManyRedirectsException(string message, Exception inner)

Parameters

message string

The error message that explains the reason for the exception.

inner Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.