PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/docs/org/apache/xmlrpc/webserver/ServletWebServer.Exception.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 335 lines | 276 code | 37 blank | 22 comment | 0 complexity | c78e7c2e37fb27867920c5303a58550e MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  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.6.0_0) on Mon Apr 20 21:45:59 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. ServletWebServer.Exception (Apache XML-RPC 3.1.2 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2009-04-20">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="ServletWebServer.Exception (Apache XML-RPC 3.1.2 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServletWebServer.Exception.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/WebServer.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/ServletWebServer.Exception.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="ServletWebServer.Exception.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.xmlrpc.webserver</FONT>
  82. <BR>
  83. Class ServletWebServer.Exception</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
  87. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
  88. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.IOException
  89. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.webserver.ServletWebServer.Exception</B>
  90. </PRE>
  91. <DL>
  92. <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
  93. </DL>
  94. <DL>
  95. <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver">ServletWebServer</A></DD>
  96. </DL>
  97. <HR>
  98. <DL>
  99. <DT><PRE>public static class <B>ServletWebServer.Exception</B><DT>extends java.io.IOException</DL>
  100. </PRE>
  101. <P>
  102. This exception is thrown by the request handling classes,
  103. advising the server, that it should return an error response.
  104. <P>
  105. <P>
  106. <DL>
  107. <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.xmlrpc.webserver.ServletWebServer.Exception">Serialized Form</A></DL>
  108. <HR>
  109. <P>
  110. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  111. <A NAME="constructor_summary"><!-- --></A>
  112. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  113. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  114. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  115. <B>Constructor Summary</B></FONT></TH>
  116. </TR>
  117. <TR BGCOLOR="white" CLASS="TableRowColor">
  118. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.Exception.html#ServletWebServer.Exception(int, java.lang.String, java.lang.String)">ServletWebServer.Exception</A></B>(int&nbsp;pStatusCode,
  119. java.lang.String&nbsp;pMessage,
  120. java.lang.String&nbsp;pDescription)</CODE>
  121. <BR>
  122. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD>
  123. </TR>
  124. </TABLE>
  125. &nbsp;
  126. <!-- ========== METHOD SUMMARY =========== -->
  127. <A NAME="method_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>Method Summary</B></FONT></TH>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.Exception.html#getDescription()">getDescription</A></B>()</CODE>
  137. <BR>
  138. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the error description.</TD>
  139. </TR>
  140. <TR BGCOLOR="white" CLASS="TableRowColor">
  141. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  142. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  143. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.Exception.html#getMessage()">getMessage</A></B>()</CODE>
  144. <BR>
  145. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  149. <CODE>&nbsp;int</CODE></FONT></TD>
  150. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.Exception.html#getStatusCode()">getStatusCode</A></B>()</CODE>
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the HTTP status code.</TD>
  153. </TR>
  154. </TABLE>
  155. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
  156. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  157. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  158. <TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
  159. </TR>
  160. <TR BGCOLOR="white" CLASS="TableRowColor">
  161. <TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
  162. </TR>
  163. </TABLE>
  164. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></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.Object</B></TH>
  168. </TR>
  169. <TR BGCOLOR="white" CLASS="TableRowColor">
  170. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  171. </TR>
  172. </TABLE>
  173. &nbsp;
  174. <P>
  175. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  176. <A NAME="constructor_detail"><!-- --></A>
  177. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  178. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  179. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  180. <B>Constructor Detail</B></FONT></TH>
  181. </TR>
  182. </TABLE>
  183. <A NAME="ServletWebServer.Exception(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
  184. ServletWebServer.Exception</H3>
  185. <PRE>
  186. public <B>ServletWebServer.Exception</B>(int&nbsp;pStatusCode,
  187. java.lang.String&nbsp;pMessage,
  188. java.lang.String&nbsp;pDescription)</PRE>
  189. <DL>
  190. <DD>Creates a new instance.
  191. <P>
  192. <DL>
  193. <DT><B>Parameters:</B><DD><CODE>pStatusCode</CODE> - The HTTP status code being sent to the client.<DD><CODE>pMessage</CODE> - The HTTP status message being sent to the client.<DD><CODE>pDescription</CODE> - The error description being sent to the client
  194. in the response body.</DL>
  195. </DL>
  196. <!-- ============ METHOD DETAIL ========== -->
  197. <A NAME="method_detail"><!-- --></A>
  198. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  199. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  200. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  201. <B>Method Detail</B></FONT></TH>
  202. </TR>
  203. </TABLE>
  204. <A NAME="getMessage()"><!-- --></A><H3>
  205. getMessage</H3>
  206. <PRE>
  207. public java.lang.String <B>getMessage</B>()</PRE>
  208. <DL>
  209. <DD><DL>
  210. <DT><B>Overrides:</B><DD><CODE>getMessage</CODE> in class <CODE>java.lang.Throwable</CODE></DL>
  211. </DD>
  212. <DD><DL>
  213. </DL>
  214. </DD>
  215. </DL>
  216. <HR>
  217. <A NAME="getDescription()"><!-- --></A><H3>
  218. getDescription</H3>
  219. <PRE>
  220. public java.lang.String <B>getDescription</B>()</PRE>
  221. <DL>
  222. <DD>Returns the error description. The server will send the description
  223. as plain text in the response body.
  224. <P>
  225. <DD><DL>
  226. <DT><B>Returns:</B><DD>The error description.</DL>
  227. </DD>
  228. </DL>
  229. <HR>
  230. <A NAME="getStatusCode()"><!-- --></A><H3>
  231. getStatusCode</H3>
  232. <PRE>
  233. public int <B>getStatusCode</B>()</PRE>
  234. <DL>
  235. <DD>Returns the HTTP status code.
  236. <P>
  237. <DD><DL>
  238. <DT><B>Returns:</B><DD>The status code.</DL>
  239. </DD>
  240. </DL>
  241. <!-- ========= END OF CLASS DATA ========= -->
  242. <HR>
  243. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  244. <A NAME="navbar_bottom"><!-- --></A>
  245. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  246. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  247. <TR>
  248. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  249. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  250. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  251. <TR ALIGN="center" VALIGN="top">
  252. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  253. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  254. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  255. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServletWebServer.Exception.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  256. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  257. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  258. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  259. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  260. </TR>
  261. </TABLE>
  262. </TD>
  263. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  264. </EM>
  265. </TD>
  266. </TR>
  267. <TR>
  268. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  269. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/ServletWebServer.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A>&nbsp;
  270. &nbsp;<A HREF="../../../../org/apache/xmlrpc/webserver/WebServer.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD>
  271. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  272. <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/ServletWebServer.Exception.html" target="_top"><B>FRAMES</B></A> &nbsp;
  273. &nbsp;<A HREF="ServletWebServer.Exception.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  274. &nbsp;<SCRIPT type="text/javascript">
  275. <!--
  276. if(window==top) {
  277. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  278. }
  279. //-->
  280. </SCRIPT>
  281. <NOSCRIPT>
  282. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  283. </NOSCRIPT>
  284. </FONT></TD>
  285. </TR>
  286. <TR>
  287. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  288. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  289. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  290. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  291. </TR>
  292. </TABLE>
  293. <A NAME="skip-navbar_bottom"></A>
  294. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  295. <HR>
  296. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  297. </BODY>
  298. </HTML>