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 AuthenticationException (HttpClient 4.0-beta1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="keywords" CONTENT="org.apache.http.auth.AuthenticationException 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="AuthenticationException (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/AuthenticationException.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/AUTH.html" title="class in org.apache.http.auth"><B>PREV CLASS</B></A>
|
|
57 <A HREF="../../../../org/apache/http/auth/AuthScheme.html" title="interface 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/AuthenticationException.html" target="_top"><B>FRAMES</B></A>
|
|
60 <A HREF="AuthenticationException.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 AuthenticationException</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 "><B>org.apache.http.auth.AuthenticationException</B>
|
|
99 </PRE>
|
|
100 <DL>
|
|
101 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
|
102 </DL>
|
|
103 <DL>
|
|
104 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/http/auth/InvalidCredentialsException.html" title="class in org.apache.http.auth">InvalidCredentialsException</A>, <A HREF="../../../../org/apache/http/impl/auth/NTLMEngineException.html" title="class in org.apache.http.impl.auth">NTLMEngineException</A></DD>
|
|
105 </DL>
|
|
106 <HR>
|
|
107 <DL>
|
|
108 <DT><PRE>public class <B>AuthenticationException</B><DT>extends org.apache.http.ProtocolException</DL>
|
|
109 </PRE>
|
|
110
|
|
111 <P>
|
|
112 Signals a failure in authentication process
|
|
113 <P>
|
|
114
|
|
115 <P>
|
|
116 <DL>
|
|
117 <DT><B>Since:</B></DT>
|
|
118 <DD>4.0</DD>
|
|
119 <DT><B>Author:</B></DT>
|
|
120 <DD><a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a></DD>
|
|
121 <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.http.auth.AuthenticationException">Serialized Form</A></DL>
|
|
122 <HR>
|
|
123
|
|
124 <P>
|
|
125
|
|
126 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
127
|
|
128 <A NAME="constructor_summary"><!-- --></A>
|
|
129 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
130 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
131 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
132 <B>Constructor Summary</B></FONT></TH>
|
|
133 </TR>
|
|
134 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
135 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/AuthenticationException.html#AuthenticationException()">AuthenticationException</A></B>()</CODE>
|
|
136
|
|
137 <BR>
|
|
138 Creates a new AuthenticationException with a <tt>null</tt> detail message.</TD>
|
|
139 </TR>
|
|
140 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
141 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/AuthenticationException.html#AuthenticationException(java.lang.String)">AuthenticationException</A></B>(java.lang.String message)</CODE>
|
|
142
|
|
143 <BR>
|
|
144 Creates a new AuthenticationException with the specified message.</TD>
|
|
145 </TR>
|
|
146 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
147 <TD><CODE><B><A HREF="../../../../org/apache/http/auth/AuthenticationException.html#AuthenticationException(java.lang.String, java.lang.Throwable)">AuthenticationException</A></B>(java.lang.String message,
|
|
148 java.lang.Throwable cause)</CODE>
|
|
149
|
|
150 <BR>
|
|
151 Creates a new AuthenticationException with the specified detail message and cause.</TD>
|
|
152 </TR>
|
|
153 </TABLE>
|
|
154
|
|
155 <!-- ========== METHOD SUMMARY =========== -->
|
|
156
|
|
157 <A NAME="method_summary"><!-- --></A>
|
|
158 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
159 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
160 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
161 <B>Method Summary</B></FONT></TH>
|
|
162 </TR>
|
|
163 </TABLE>
|
|
164 <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
|
165 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
166 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
167 <TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
|
|
168 </TR>
|
|
169 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
170 <TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
|
|
171 </TR>
|
|
172 </TABLE>
|
|
173 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
174 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
175 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
176 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
177 </TR>
|
|
178 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
179 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
180 </TR>
|
|
181 </TABLE>
|
|
182
|
|
183 <P>
|
|
184
|
|
185 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
186
|
|
187 <A NAME="constructor_detail"><!-- --></A>
|
|
188 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
189 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
190 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
191 <B>Constructor Detail</B></FONT></TH>
|
|
192 </TR>
|
|
193 </TABLE>
|
|
194
|
|
195 <A NAME="AuthenticationException()"><!-- --></A><H3>
|
|
196 AuthenticationException</H3>
|
|
197 <PRE>
|
|
198 public <B>AuthenticationException</B>()</PRE>
|
|
199 <DL>
|
|
200 <DD>Creates a new AuthenticationException with a <tt>null</tt> detail message.
|
|
201 <P>
|
|
202 </DL>
|
|
203 <HR>
|
|
204
|
|
205 <A NAME="AuthenticationException(java.lang.String)"><!-- --></A><H3>
|
|
206 AuthenticationException</H3>
|
|
207 <PRE>
|
|
208 public <B>AuthenticationException</B>(java.lang.String message)</PRE>
|
|
209 <DL>
|
|
210 <DD>Creates a new AuthenticationException with the specified message.
|
|
211 <P>
|
|
212 <DL>
|
|
213 <DT><B>Parameters:</B><DD><CODE>message</CODE> - the exception detail message</DL>
|
|
214 </DL>
|
|
215 <HR>
|
|
216
|
|
217 <A NAME="AuthenticationException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
|
218 AuthenticationException</H3>
|
|
219 <PRE>
|
|
220 public <B>AuthenticationException</B>(java.lang.String message,
|
|
221 java.lang.Throwable cause)</PRE>
|
|
222 <DL>
|
|
223 <DD>Creates a new AuthenticationException with the specified detail message and cause.
|
|
224 <P>
|
|
225 <DL>
|
|
226 <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>
|
|
227 if the cause is unavailable, unknown, or not a <tt>Throwable</tt></DL>
|
|
228 </DL>
|
|
229 <!-- ========= END OF CLASS DATA ========= -->
|
|
230 <HR>
|
|
231
|
|
232
|
|
233 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
234 <A NAME="navbar_bottom"><!-- --></A>
|
|
235 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
236 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
237 <TR>
|
|
238 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
239 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
240 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
241 <TR ALIGN="center" VALIGN="top">
|
|
242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
244 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AuthenticationException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
247 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
248 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
249 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
250 </TR>
|
|
251 </TABLE>
|
|
252 </TD>
|
|
253 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
254 </EM>
|
|
255 </TD>
|
|
256 </TR>
|
|
257
|
|
258 <TR>
|
|
259 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
260 <A HREF="../../../../org/apache/http/auth/AUTH.html" title="class in org.apache.http.auth"><B>PREV CLASS</B></A>
|
|
261 <A HREF="../../../../org/apache/http/auth/AuthScheme.html" title="interface in org.apache.http.auth"><B>NEXT CLASS</B></A></FONT></TD>
|
|
262 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
263 <A HREF="../../../../index.html?org/apache/http/auth/AuthenticationException.html" target="_top"><B>FRAMES</B></A>
|
|
264 <A HREF="AuthenticationException.html" target="_top"><B>NO FRAMES</B></A>
|
|
265 <SCRIPT type="text/javascript">
|
|
266 <!--
|
|
267 if(window==top) {
|
|
268 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
269 }
|
|
270 //-->
|
|
271 </SCRIPT>
|
|
272 <NOSCRIPT>
|
|
273 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
274 </NOSCRIPT>
|
|
275
|
|
276
|
|
277 </FONT></TD>
|
|
278 </TR>
|
|
279 <TR>
|
|
280 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
281 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
|
282 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
283 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
|
284 </TR>
|
|
285 </TABLE>
|
|
286 <A NAME="skip-navbar_bottom"></A>
|
|
287 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
288
|
|
289 <HR>
|
|
290 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
|
291 </BODY>
|
|
292 </HTML>
|