public class AuthenticationException extends ServiceException
| Constructor and Description |
|---|
AuthenticationException(HttpURLConnection httpConn)
Constructs a new AuthenticationException using header and error
stream information from an HTTP connection.
|
AuthenticationException(String message)
Creates a new AuthenticationException without any authentication
header information.
|
AuthenticationException(String message,
String authHeader)
Constructs a new AuthenticationException instance based upon
the contents of a WWW-Authenticate header as described by
RFC2617.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthHeader() |
Map<String,String> |
getParameters() |
String |
getRealm() |
String |
getScheme() |
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeader, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getOAuthProxyResponse, getResponseBody, getResponseContentType, getSendReport, getSiblings, hasOAuthProxyResponse, initCause, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toString, toXmlErrorMessage, toXmlErrorMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AuthenticationException(String message, String authHeader)
public AuthenticationException(String message)
public AuthenticationException(HttpURLConnection httpConn) throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.