| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.google.gdata.util.ServiceException | |||
| ↳ | com.google.gdata.util.RedirectRequiredException | |||
Exception thrown when a redirect is required to satisfy a request.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | LOCATION | Name of HTTP header containing redirect target location. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Exception
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.util.ServiceException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Initialize the redirect required exception.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.util.ServiceException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Name of HTTP header containing redirect target location.
Initialize the redirect required exception.
| sc | The status code of the redirect - one of
HTTP_MOVED_PERM or
HTTP_MOVED_TEMP. |
|---|---|
| location | The redirect location |
| httpConn |
|---|
| IOException |
|---|