Network programming assignment for University
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

348 lines
17 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <title>MissingArgumentException (Apache Commons CLI 1.4 API)</title>
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="MissingArgumentException (Apache Commons CLI 1.4 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  41. <li class="navBarCell1Rev">Class</li>
  42. <li><a href="class-use/MissingArgumentException.html">Use</a></li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  45. <li><a href="../../../../index-all.html">Index</a></li>
  46. <li><a href="../../../../help-doc.html">Help</a></li>
  47. </ul>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../../org/apache/commons/cli/HelpFormatter.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../../org/apache/commons/cli/MissingOptionException.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../../index.html?org/apache/commons/cli/MissingArgumentException.html" target="_top">Frames</a></li>
  56. <li><a href="MissingArgumentException.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li>Field&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li>Field&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.apache.commons.cli</div>
  95. <h2 title="Class MissingArgumentException" class="title">Class MissingArgumentException</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  100. <li>
  101. <ul class="inheritance">
  102. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
  103. <li>
  104. <ul class="inheritance">
  105. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
  106. <li>
  107. <ul class="inheritance">
  108. <li><a href="../../../../org/apache/commons/cli/ParseException.html" title="class in org.apache.commons.cli">org.apache.commons.cli.ParseException</a></li>
  109. <li>
  110. <ul class="inheritance">
  111. <li>org.apache.commons.cli.MissingArgumentException</li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. </li>
  118. </ul>
  119. </li>
  120. </ul>
  121. <div class="description">
  122. <ul class="blockList">
  123. <li class="blockList">
  124. <dl>
  125. <dt>All Implemented Interfaces:</dt>
  126. <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
  127. </dl>
  128. <hr>
  129. <br>
  130. <pre>public class <span class="typeNameLabel">MissingArgumentException</span>
  131. extends <a href="../../../../org/apache/commons/cli/ParseException.html" title="class in org.apache.commons.cli">ParseException</a></pre>
  132. <div class="block">Thrown when an option requiring an argument
  133. is not provided with an argument.</div>
  134. <dl>
  135. <dt><span class="simpleTagLabel">Version:</span></dt>
  136. <dd>$Id: MissingArgumentException.java 1443102 2013-02-06 18:12:16Z tn $</dd>
  137. <dt><span class="seeLabel">See Also:</span></dt>
  138. <dd><a href="../../../../serialized-form.html#org.apache.commons.cli.MissingArgumentException">Serialized Form</a></dd>
  139. </dl>
  140. </li>
  141. </ul>
  142. </div>
  143. <div class="summary">
  144. <ul class="blockList">
  145. <li class="blockList">
  146. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  147. <ul class="blockList">
  148. <li class="blockList"><a name="constructor.summary">
  149. <!-- -->
  150. </a>
  151. <h3>Constructor Summary</h3>
  152. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  153. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  154. <tr>
  155. <th class="colOne" scope="col">Constructor and Description</th>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/MissingArgumentException.html#MissingArgumentException-org.apache.commons.cli.Option-">MissingArgumentException</a></span>(<a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a>&nbsp;option)</code>
  159. <div class="block">Construct a new <code>MissingArgumentException</code>
  160. with the specified detail message.</div>
  161. </td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/MissingArgumentException.html#MissingArgumentException-java.lang.String-">MissingArgumentException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message)</code>
  165. <div class="block">Construct a new <code>MissingArgumentException</code>
  166. with the specified detail message.</div>
  167. </td>
  168. </tr>
  169. </table>
  170. </li>
  171. </ul>
  172. <!-- ========== METHOD SUMMARY =========== -->
  173. <ul class="blockList">
  174. <li class="blockList"><a name="method.summary">
  175. <!-- -->
  176. </a>
  177. <h3>Method Summary</h3>
  178. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  179. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  180. <tr>
  181. <th class="colFirst" scope="col">Modifier and Type</th>
  182. <th class="colLast" scope="col">Method and Description</th>
  183. </tr>
  184. <tr id="i0" class="altColor">
  185. <td class="colFirst"><code><a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a></code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/MissingArgumentException.html#getOption--">getOption</a></span>()</code>
  187. <div class="block">Return the option requiring an argument that wasn't provided
  188. on the command line.</div>
  189. </td>
  190. </tr>
  191. </table>
  192. <ul class="blockList">
  193. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
  194. <!-- -->
  195. </a>
  196. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
  197. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
  198. </ul>
  199. <ul class="blockList">
  200. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  201. <!-- -->
  202. </a>
  203. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  204. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
  205. </ul>
  206. </li>
  207. </ul>
  208. </li>
  209. </ul>
  210. </div>
  211. <div class="details">
  212. <ul class="blockList">
  213. <li class="blockList">
  214. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  215. <ul class="blockList">
  216. <li class="blockList"><a name="constructor.detail">
  217. <!-- -->
  218. </a>
  219. <h3>Constructor Detail</h3>
  220. <a name="MissingArgumentException-java.lang.String-">
  221. <!-- -->
  222. </a>
  223. <ul class="blockList">
  224. <li class="blockList">
  225. <h4>MissingArgumentException</h4>
  226. <pre>public&nbsp;MissingArgumentException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message)</pre>
  227. <div class="block">Construct a new <code>MissingArgumentException</code>
  228. with the specified detail message.</div>
  229. <dl>
  230. <dt><span class="paramLabel">Parameters:</span></dt>
  231. <dd><code>message</code> - the detail message</dd>
  232. </dl>
  233. </li>
  234. </ul>
  235. <a name="MissingArgumentException-org.apache.commons.cli.Option-">
  236. <!-- -->
  237. </a>
  238. <ul class="blockListLast">
  239. <li class="blockList">
  240. <h4>MissingArgumentException</h4>
  241. <pre>public&nbsp;MissingArgumentException(<a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a>&nbsp;option)</pre>
  242. <div class="block">Construct a new <code>MissingArgumentException</code>
  243. with the specified detail message.</div>
  244. <dl>
  245. <dt><span class="paramLabel">Parameters:</span></dt>
  246. <dd><code>option</code> - the option requiring an argument</dd>
  247. <dt><span class="simpleTagLabel">Since:</span></dt>
  248. <dd>1.2</dd>
  249. </dl>
  250. </li>
  251. </ul>
  252. </li>
  253. </ul>
  254. <!-- ============ METHOD DETAIL ========== -->
  255. <ul class="blockList">
  256. <li class="blockList"><a name="method.detail">
  257. <!-- -->
  258. </a>
  259. <h3>Method Detail</h3>
  260. <a name="getOption--">
  261. <!-- -->
  262. </a>
  263. <ul class="blockListLast">
  264. <li class="blockList">
  265. <h4>getOption</h4>
  266. <pre>public&nbsp;<a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a>&nbsp;getOption()</pre>
  267. <div class="block">Return the option requiring an argument that wasn't provided
  268. on the command line.</div>
  269. <dl>
  270. <dt><span class="returnLabel">Returns:</span></dt>
  271. <dd>the related option</dd>
  272. <dt><span class="simpleTagLabel">Since:</span></dt>
  273. <dd>1.2</dd>
  274. </dl>
  275. </li>
  276. </ul>
  277. </li>
  278. </ul>
  279. </li>
  280. </ul>
  281. </div>
  282. </div>
  283. <!-- ========= END OF CLASS DATA ========= -->
  284. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  285. <div class="bottomNav"><a name="navbar.bottom">
  286. <!-- -->
  287. </a>
  288. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  289. <a name="navbar.bottom.firstrow">
  290. <!-- -->
  291. </a>
  292. <ul class="navList" title="Navigation">
  293. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  294. <li class="navBarCell1Rev">Class</li>
  295. <li><a href="class-use/MissingArgumentException.html">Use</a></li>
  296. <li><a href="package-tree.html">Tree</a></li>
  297. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  298. <li><a href="../../../../index-all.html">Index</a></li>
  299. <li><a href="../../../../help-doc.html">Help</a></li>
  300. </ul>
  301. </div>
  302. <div class="subNav">
  303. <ul class="navList">
  304. <li><a href="../../../../org/apache/commons/cli/HelpFormatter.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  305. <li><a href="../../../../org/apache/commons/cli/MissingOptionException.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  306. </ul>
  307. <ul class="navList">
  308. <li><a href="../../../../index.html?org/apache/commons/cli/MissingArgumentException.html" target="_top">Frames</a></li>
  309. <li><a href="MissingArgumentException.html" target="_top">No&nbsp;Frames</a></li>
  310. </ul>
  311. <ul class="navList" id="allclasses_navbar_bottom">
  312. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  313. </ul>
  314. <div>
  315. <script type="text/javascript"><!--
  316. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  317. if(window==top) {
  318. allClassesLink.style.display = "block";
  319. }
  320. else {
  321. allClassesLink.style.display = "none";
  322. }
  323. //-->
  324. </script>
  325. </div>
  326. <div>
  327. <ul class="subNavList">
  328. <li>Summary:&nbsp;</li>
  329. <li>Nested&nbsp;|&nbsp;</li>
  330. <li>Field&nbsp;|&nbsp;</li>
  331. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  332. <li><a href="#method.summary">Method</a></li>
  333. </ul>
  334. <ul class="subNavList">
  335. <li>Detail:&nbsp;</li>
  336. <li>Field&nbsp;|&nbsp;</li>
  337. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  338. <li><a href="#method.detail">Method</a></li>
  339. </ul>
  340. </div>
  341. <a name="skip.navbar.bottom">
  342. <!-- -->
  343. </a></div>
  344. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  345. <p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  346. </body>
  347. </html>