public class AuthenticationException extends ServiceException
Constructor and Description |
---|
AuthenticationException(java.net.HttpURLConnection httpConn)
Constructs a new AuthenticationException using header and error
stream information from an HTTP connection.
|
AuthenticationException(java.lang.String message)
Creates a new AuthenticationException without any authentication
header information.
|
AuthenticationException(java.lang.String message,
java.lang.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 |
---|---|
java.lang.String |
getAuthHeader() |
java.util.Map<java.lang.String,java.lang.String> |
getParameters() |
java.lang.String |
getRealm() |
java.lang.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, toXmlErrorMessage
public AuthenticationException(java.lang.String message, java.lang.String authHeader)
public AuthenticationException(java.lang.String message)
public AuthenticationException(java.net.HttpURLConnection httpConn) throws java.io.IOException
java.io.IOException