public class

RedirectException

extends ProtocolException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
         ↳ org.apache.http.ProtocolException
           ↳ org.apache.http.client.RedirectException
Known Direct Subclasses

Class Overview

Signals violation of HTTP specification caused by an invalid redirect

Summary

Public Constructors
RedirectException()
Creates a new RedirectException with a null detail message.
RedirectException(String message)
Creates a new RedirectException with the specified detail message.
RedirectException(String message, Throwable cause)
Creates a new RedirectException with the specified detail message and cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RedirectException ()

Also: HttpClient

Creates a new RedirectException with a null detail message.

public RedirectException (String message)

Also: HttpClient

Creates a new RedirectException with the specified detail message.

Parameters
message The exception detail message

public RedirectException (String message, Throwable cause)

Also: HttpClient

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

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