| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.google.gdata.util.ServiceException | |||
| ↳ | com.google.gdata.util.AuthenticationException | |||
The AuthenticationException class is used to represent a GData service failure due to authentication.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | serialVersionUID | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Exception
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PARAM_PATTERN | |||||||||||
| SCHEME_PATTERN | |||||||||||
| TOKEN | |||||||||||
| authHeader | |||||||||||
| parameters | |||||||||||
| scheme | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.util.ServiceException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new AuthenticationException instance based upon
the contents of a WWW-Authenticate header as described by
RFC2617.
| |||||||||||
Creates a new AuthenticationException without any authentication
header information.
| |||||||||||
Constructs a new AuthenticationException using header and error
stream information from an HTTP connection.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.util.ServiceException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new AuthenticationException instance based upon the contents of a WWW-Authenticate header as described by RFC2617.
| message | |
|---|---|
| authHeader |
Creates a new AuthenticationException without any authentication header information. The WWW-Authenticate header will have to be set separately to build a valid HTTP 401 error response.
| message |
|---|
Constructs a new AuthenticationException using header and error stream information from an HTTP connection.
| httpConn |
|---|
| IOException |
|---|