5
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2 <!--NewPage-->
|
|
3 <HTML>
|
|
4 <HEAD>
|
|
5 <!-- Generated by javadoc (build 1.5.0_11) on Sat Aug 23 11:49:50 GMT+01:00 2008 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
7 <TITLE>
|
|
8 InvalidCredentialsException (HttpClient 4.0-beta1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="keywords" CONTENT="org.apache.http.auth.InvalidCredentialsException class">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 parent.document.title="InvalidCredentialsException (HttpClient 4.0-beta1 API)";
|
|
19 }
|
|
20 </SCRIPT>
|
|
21 <NOSCRIPT>
|
|
22 </NOSCRIPT>
|
|
23
|
|
24 </HEAD>
|
|
25
|
|
26 <BODY BGCOLOR="white" onload="windowTitle();">
|
|
27
|
|
28
|
|
29 <!-- ========= START OF TOP NAVBAR ======= -->
|
|
30 <A NAME="navbar_top"><!-- --></A>
|
|
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
33 <TR>
|
|
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
35 <A NAME="navbar_top_firstrow"><!-- --></A>
|
|
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
37 <TR ALIGN="center" VALIGN="top">
|
|
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InvalidCredentialsException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
46 </TR>
|
|
47 </TABLE>
|
|
48 </TD>
|
|
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
50 </EM>
|
|
51 </TD>
|
|
52 </TR>
|
|
53
|
|
54 <TR>
|
|
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
56 <A HREF="../../../../org/apache/http/auth/Credentials.html" title="interface in org.apache.http.auth"><B>PREV CLASS</B></A>
|
|
57 <A HREF="../../../../org/apache/http/auth/MalformedChallengeException.html" title="class in org.apache.http.auth"><B>NEXT CLASS</B></A></FONT></TD>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../index.html?org/apache/http/auth/InvalidCredentialsException.html" target="_top"><B>FRAMES</B></A>
|
|
60 <A HREF="InvalidCredentialsException.html" target="_top"><B>NO FRAMES</B></A>
|
|
61 <SCRIPT type="text/javascript">
|
|
62 <!--
|
|
63 if(window==top) {
|
|
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
65 }
|
|
66 //-->
|
|
67 </SCRIPT>
|
|
68 <NOSCRIPT>
|
|
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
70 </NOSCRIPT>
|
|
71
|
|
72
|
|
73 </FONT></TD>
|
|
74 </TR>
|
|
75 <TR>
|
|
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
77 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
|
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
79 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
|
80 </TR>
|
|
81 </TABLE>
|
|
82 <A NAME="skip-navbar_top"></A>
|
|
83 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
84
|
|
85 <HR>
|
|
86 <!-- ======== START OF CLASS DATA ======== -->
|
|
87 <H2>
|
|
88 <FONT SIZE="-1">
|
|
89 org.apache.http.auth</FONT>
|
|
90 <BR>
|
|
91 Class InvalidCredentialsException</H2>
|
|
92 <PRE>
|
|
93 java.lang.Object
|
|
94 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
|
|
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
|
|
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.http.HttpException
|
|
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.http.ProtocolException
|
|
98 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/http/auth/AuthenticationException.html" title="class in org.apache.http.auth">org.apache.http.auth.AuthenticationException</A>
|
|
99 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.http.auth.InvalidCredentialsException</B>
|
|
100 </PRE>
|
|
101 <DL>
|
|
102 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
|
103 </DL>
|
|
104 <HR>
|
|
105 <DL>
|
|
106 <DT><PRE>public class <B>InvalidCredentialsException</B><DT>extends <A HREF="../../../../org/apache/http/auth/AuthenticationException.html" title="class in org.apache.http.auth">AuthenticationException</A></DL>
|
|
107 </PRE>
|
|
108
|
|
109 <P>
|
|
110 Authentication credentials required to respond to a authentication
|
|
111 challenge are invalid
|
|
112 <P>
|
|
113
|
|
114 <P>
|
|
115 <DL>
|
|
116 <DT><B>Since:</B></DT>
|
|
117 <DD>4.0</DD>
|
|
118 <DT><B>Author:</B></DT>
|
|
119 <DD><a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a></DD>
|
|
120 <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.http.auth.InvalidCredentialsException">Serialized Form</A></DL>
|
|
121 <HR>
|
|
122
|
|
123 <P>
|
|
124
|
|
125 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
126
|
|
127 <A NAME="constructor_summary"><!-- --></A>
|
|
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
130 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
131 <B>Constructor Summary</B></FONT></TH>
|
|
132 </TR>
|
|
133 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
134 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/InvalidCredentialsException.html#InvalidCredentialsException()">InvalidCredentialsException</A></B>()</CODE>
|
|
135
|
|
136 <BR>
|
|
137 Creates a new InvalidCredentialsException with a <tt>null</tt> detail message.</TD>
|
|
138 </TR>
|
|
139 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
140 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/InvalidCredentialsException.html#InvalidCredentialsException(java.lang.String)">InvalidCredentialsException</A></B>(java.lang.String message)</CODE>
|
|
141
|
|
142 <BR>
|
|
143 Creates a new InvalidCredentialsException with the specified message.</TD>
|
|
144 </TR>
|
|
145 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
146 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/InvalidCredentialsException.html#InvalidCredentialsException(java.lang.String, java.lang.Throwable)">InvalidCredentialsException</A></B>(java.lang.String message,
|
|
147 java.lang.Throwable cause)</CODE>
|
|
148
|
|
149 <BR>
|
|
150 Creates a new InvalidCredentialsException with the specified detail message and cause.</TD>
|
|
151 </TR>
|
|
152 </TABLE>
|
|
153
|
|
154 <!-- ========== METHOD SUMMARY =========== -->
|
|
155
|
|
156 <A NAME="method_summary"><!-- --></A>
|
|
157 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
158 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
159 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
160 <B>Method Summary</B></FONT></TH>
|
|
161 </TR>
|
|
162 </TABLE>
|
|
163 <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
|
164 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
165 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
166 <TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
|
|
167 </TR>
|
|
168 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
169 <TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
|
|
170 </TR>
|
|
171 </TABLE>
|
|
172 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
173 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
174 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
175 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
176 </TR>
|
|
177 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
178 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
179 </TR>
|
|
180 </TABLE>
|
|
181
|
|
182 <P>
|
|
183
|
|
184 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
185
|
|
186 <A NAME="constructor_detail"><!-- --></A>
|
|
187 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
188 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
189 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
190 <B>Constructor Detail</B></FONT></TH>
|
|
191 </TR>
|
|
192 </TABLE>
|
|
193
|
|
194 <A NAME="InvalidCredentialsException()"><!-- --></A><H3>
|
|
195 InvalidCredentialsException</H3>
|
|
196 <PRE>
|
|
197 public <B>InvalidCredentialsException</B>()</PRE>
|
|
198 <DL>
|
|
199 <DD>Creates a new InvalidCredentialsException with a <tt>null</tt> detail message.
|
|
200 <P>
|
|
201 </DL>
|
|
202 <HR>
|
|
203
|
|
204 <A NAME="InvalidCredentialsException(java.lang.String)"><!-- --></A><H3>
|
|
205 InvalidCredentialsException</H3>
|
|
206 <PRE>
|
|
207 public <B>InvalidCredentialsException</B>(java.lang.String message)</PRE>
|
|
208 <DL>
|
|
209 <DD>Creates a new InvalidCredentialsException with the specified message.
|
|
210 <P>
|
|
211 <DL>
|
|
212 <DT><B>Parameters:</B><DD><CODE>message</CODE> - the exception detail message</DL>
|
|
213 </DL>
|
|
214 <HR>
|
|
215
|
|
216 <A NAME="InvalidCredentialsException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
|
217 InvalidCredentialsException</H3>
|
|
218 <PRE>
|
|
219 public <B>InvalidCredentialsException</B>(java.lang.String message,
|
|
220 java.lang.Throwable cause)</PRE>
|
|
221 <DL>
|
|
222 <DD>Creates a new InvalidCredentialsException with the specified detail message and cause.
|
|
223 <P>
|
|
224 <DL>
|
|
225 <DT><B>Parameters:</B><DD><CODE>message</CODE> - the exception detail message<DD><CODE>cause</CODE> - the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
|
|
226 if the cause is unavailable, unknown, or not a <tt>Throwable</tt></DL>
|
|
227 </DL>
|
|
228 <!-- ========= END OF CLASS DATA ========= -->
|
|
229 <HR>
|
|
230
|
|
231
|
|
232 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
233 <A NAME="navbar_bottom"><!-- --></A>
|
|
234 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
235 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
236 <TR>
|
|
237 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
238 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
239 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
240 <TR ALIGN="center" VALIGN="top">
|
|
241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
243 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
244 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InvalidCredentialsException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
247 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
248 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
249 </TR>
|
|
250 </TABLE>
|
|
251 </TD>
|
|
252 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
253 </EM>
|
|
254 </TD>
|
|
255 </TR>
|
|
256
|
|
257 <TR>
|
|
258 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
259 <A HREF="../../../../org/apache/http/auth/Credentials.html" title="interface in org.apache.http.auth"><B>PREV CLASS</B></A>
|
|
260 <A HREF="../../../../org/apache/http/auth/MalformedChallengeException.html" title="class in org.apache.http.auth"><B>NEXT CLASS</B></A></FONT></TD>
|
|
261 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
262 <A HREF="../../../../index.html?org/apache/http/auth/InvalidCredentialsException.html" target="_top"><B>FRAMES</B></A>
|
|
263 <A HREF="InvalidCredentialsException.html" target="_top"><B>NO FRAMES</B></A>
|
|
264 <SCRIPT type="text/javascript">
|
|
265 <!--
|
|
266 if(window==top) {
|
|
267 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
268 }
|
|
269 //-->
|
|
270 </SCRIPT>
|
|
271 <NOSCRIPT>
|
|
272 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
273 </NOSCRIPT>
|
|
274
|
|
275
|
|
276 </FONT></TD>
|
|
277 </TR>
|
|
278 <TR>
|
|
279 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
280 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
|
281 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
282 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
|
283 </TR>
|
|
284 </TABLE>
|
|
285 <A NAME="skip-navbar_bottom"></A>
|
|
286 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
287
|
|
288 <HR>
|
|
289 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
|
290 </BODY>
|
|
291 </HTML>
|