/** * Constructs a new AuthenticationException instance based upon * the contents of a WWW-Authenticate header as described by * RFC2617. */ public AuthenticationException(String message, String authHeader) { super(message); initFromAuthHeader(authHeader); }
/** * Constructs a new AuthenticationException instance based upon * the contents of a WWW-Authenticate header as described by * RFC2617. */ public AuthenticationException(String message, String authHeader) { super(message); initFromAuthHeader(authHeader); }
/** * Constructs a new AuthenticationException instance based upon * the contents of a WWW-Authenticate header as described by * RFC2617. */ public AuthenticationException(String message, String authHeader) { super(message); initFromAuthHeader(authHeader); }
/** * Constructs a new AuthenticationException using header and error * stream information from an HTTP connection. */ public AuthenticationException(HttpURLConnection httpConn) throws IOException { super(httpConn); initFromAuthHeader(httpConn.getHeaderField("WWW-Authenticate")); }
/** * Constructs a new AuthenticationException using header and error * stream information from an HTTP connection. */ public AuthenticationException(HttpURLConnection httpConn) throws IOException { super(httpConn); initFromAuthHeader(httpConn.getHeaderField("WWW-Authenticate")); }
/** * Constructs a new AuthenticationException using header and error * stream information from an HTTP connection. */ public AuthenticationException(HttpURLConnection httpConn) throws IOException { super(httpConn); initFromAuthHeader(httpConn.getHeaderField("WWW-Authenticate")); }