Android APIs
Added in API level 1
Deprecated since API level 22
public class

CircularRedirectException

extends RedirectException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
         ↳ org.apache.http.ProtocolException
           ↳ org.apache.http.client.RedirectException
             ↳ org.apache.http.client.CircularRedirectException

This class was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

Class Overview

Signals a circular redirect

Summary

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

Public Constructors

public CircularRedirectException ()

Added in API level 1

Creates a new CircularRedirectException with a null detail message.

public CircularRedirectException (String message)

Added in API level 1

Creates a new CircularRedirectException with the specified detail message.

Parameters
message The exception detail message

public CircularRedirectException (String message, Throwable cause)

Added in API level 1

Creates a new CircularRedirectException 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