Top Description Fields Constructors
org.apache.http.client

public Class RedirectException

extends ProtocolException
Class Inheritance
Known Direct Subclasses
org.apache.http.client.CircularRedirectException
Imports
org.apache.http.ProtocolException

Signals violation of HTTP specification caused by an invalid redirect
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
RedirectException()

Creates a new RedirectException with a null detail message.

public
RedirectException(final String
The exception detail message
message
)

Creates a new RedirectException with the specified detail message.

public
RedirectException(final String
the exception detail message
message
,
final Throwable
the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable
cause
)

Creates a new RedirectException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.http.ProtocolException.serialVersionUID.

Constructor Detail

RedirectExceptionback to summary
public RedirectException()

Creates a new RedirectException with a null detail message.

RedirectExceptionback to summary
public RedirectException(final String message)

Creates a new RedirectException with the specified detail message.

Parameters
message:String

The exception detail message

RedirectExceptionback to summary
public RedirectException(final String message, final Throwable cause)

Creates a new RedirectException with the specified detail message and cause.

Parameters
message:String

the exception detail message

cause:Throwable

the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable