Network programming assignment for University
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

346 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>MissingOptionException (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="MissingOptionException (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/MissingOptionException.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/MissingArgumentException.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/Option.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/MissingOptionException.html" target="_top">Frames</a></li>
  56. <li><a href="MissingOptionException.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 MissingOptionException" class="title">Class MissingOptionException</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.MissingOptionException</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">MissingOptionException</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 a required option has not been provided.</div>
  133. <dl>
  134. <dt><span class="simpleTagLabel">Version:</span></dt>
  135. <dd>$Id: MissingOptionException.java 1443102 2013-02-06 18:12:16Z tn $</dd>
  136. <dt><span class="seeLabel">See Also:</span></dt>
  137. <dd><a href="../../../../serialized-form.html#org.apache.commons.cli.MissingOptionException">Serialized Form</a></dd>
  138. </dl>
  139. </li>
  140. </ul>
  141. </div>
  142. <div class="summary">
  143. <ul class="blockList">
  144. <li class="blockList">
  145. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  146. <ul class="blockList">
  147. <li class="blockList"><a name="constructor.summary">
  148. <!-- -->
  149. </a>
  150. <h3>Constructor Summary</h3>
  151. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  152. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  153. <tr>
  154. <th class="colOne" scope="col">Constructor and Description</th>
  155. </tr>
  156. <tr class="altColor">
  157. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/MissingOptionException.html#MissingOptionException-java.util.List-">MissingOptionException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;missingOptions)</code>
  158. <div class="block">Constructs a new <code>MissingSelectedException</code> with the
  159. specified list of missing options.</div>
  160. </td>
  161. </tr>
  162. <tr class="rowColor">
  163. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/MissingOptionException.html#MissingOptionException-java.lang.String-">MissingOptionException</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>
  164. <div class="block">Construct a new <code>MissingSelectedException</code>
  165. with the specified detail message.</div>
  166. </td>
  167. </tr>
  168. </table>
  169. </li>
  170. </ul>
  171. <!-- ========== METHOD SUMMARY =========== -->
  172. <ul class="blockList">
  173. <li class="blockList"><a name="method.summary">
  174. <!-- -->
  175. </a>
  176. <h3>Method Summary</h3>
  177. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  178. <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>
  179. <tr>
  180. <th class="colFirst" scope="col">Modifier and Type</th>
  181. <th class="colLast" scope="col">Method and Description</th>
  182. </tr>
  183. <tr id="i0" class="altColor">
  184. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/MissingOptionException.html#getMissingOptions--">getMissingOptions</a></span>()</code>
  186. <div class="block">Returns the list of options or option groups missing in the command line parsed.</div>
  187. </td>
  188. </tr>
  189. </table>
  190. <ul class="blockList">
  191. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
  192. <!-- -->
  193. </a>
  194. <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>
  195. <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>
  196. </ul>
  197. <ul class="blockList">
  198. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  199. <!-- -->
  200. </a>
  201. <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>
  202. <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>
  203. </ul>
  204. </li>
  205. </ul>
  206. </li>
  207. </ul>
  208. </div>
  209. <div class="details">
  210. <ul class="blockList">
  211. <li class="blockList">
  212. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  213. <ul class="blockList">
  214. <li class="blockList"><a name="constructor.detail">
  215. <!-- -->
  216. </a>
  217. <h3>Constructor Detail</h3>
  218. <a name="MissingOptionException-java.lang.String-">
  219. <!-- -->
  220. </a>
  221. <ul class="blockList">
  222. <li class="blockList">
  223. <h4>MissingOptionException</h4>
  224. <pre>public&nbsp;MissingOptionException(<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>
  225. <div class="block">Construct a new <code>MissingSelectedException</code>
  226. with the specified detail message.</div>
  227. <dl>
  228. <dt><span class="paramLabel">Parameters:</span></dt>
  229. <dd><code>message</code> - the detail message</dd>
  230. </dl>
  231. </li>
  232. </ul>
  233. <a name="MissingOptionException-java.util.List-">
  234. <!-- -->
  235. </a>
  236. <ul class="blockListLast">
  237. <li class="blockList">
  238. <h4>MissingOptionException</h4>
  239. <pre>public&nbsp;MissingOptionException(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;missingOptions)</pre>
  240. <div class="block">Constructs a new <code>MissingSelectedException</code> with the
  241. specified list of missing options.</div>
  242. <dl>
  243. <dt><span class="paramLabel">Parameters:</span></dt>
  244. <dd><code>missingOptions</code> - the list of missing options and groups</dd>
  245. <dt><span class="simpleTagLabel">Since:</span></dt>
  246. <dd>1.2</dd>
  247. </dl>
  248. </li>
  249. </ul>
  250. </li>
  251. </ul>
  252. <!-- ============ METHOD DETAIL ========== -->
  253. <ul class="blockList">
  254. <li class="blockList"><a name="method.detail">
  255. <!-- -->
  256. </a>
  257. <h3>Method Detail</h3>
  258. <a name="getMissingOptions--">
  259. <!-- -->
  260. </a>
  261. <ul class="blockListLast">
  262. <li class="blockList">
  263. <h4>getMissingOptions</h4>
  264. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;getMissingOptions()</pre>
  265. <div class="block">Returns the list of options or option groups missing in the command line parsed.</div>
  266. <dl>
  267. <dt><span class="returnLabel">Returns:</span></dt>
  268. <dd>the missing options, consisting of String instances for simple
  269. options, and OptionGroup instances for required option groups.</dd>
  270. <dt><span class="simpleTagLabel">Since:</span></dt>
  271. <dd>1.2</dd>
  272. </dl>
  273. </li>
  274. </ul>
  275. </li>
  276. </ul>
  277. </li>
  278. </ul>
  279. </div>
  280. </div>
  281. <!-- ========= END OF CLASS DATA ========= -->
  282. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  283. <div class="bottomNav"><a name="navbar.bottom">
  284. <!-- -->
  285. </a>
  286. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  287. <a name="navbar.bottom.firstrow">
  288. <!-- -->
  289. </a>
  290. <ul class="navList" title="Navigation">
  291. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  292. <li class="navBarCell1Rev">Class</li>
  293. <li><a href="class-use/MissingOptionException.html">Use</a></li>
  294. <li><a href="package-tree.html">Tree</a></li>
  295. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  296. <li><a href="../../../../index-all.html">Index</a></li>
  297. <li><a href="../../../../help-doc.html">Help</a></li>
  298. </ul>
  299. </div>
  300. <div class="subNav">
  301. <ul class="navList">
  302. <li><a href="../../../../org/apache/commons/cli/MissingArgumentException.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  303. <li><a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  304. </ul>
  305. <ul class="navList">
  306. <li><a href="../../../../index.html?org/apache/commons/cli/MissingOptionException.html" target="_top">Frames</a></li>
  307. <li><a href="MissingOptionException.html" target="_top">No&nbsp;Frames</a></li>
  308. </ul>
  309. <ul class="navList" id="allclasses_navbar_bottom">
  310. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  311. </ul>
  312. <div>
  313. <script type="text/javascript"><!--
  314. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  315. if(window==top) {
  316. allClassesLink.style.display = "block";
  317. }
  318. else {
  319. allClassesLink.style.display = "none";
  320. }
  321. //-->
  322. </script>
  323. </div>
  324. <div>
  325. <ul class="subNavList">
  326. <li>Summary:&nbsp;</li>
  327. <li>Nested&nbsp;|&nbsp;</li>
  328. <li>Field&nbsp;|&nbsp;</li>
  329. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  330. <li><a href="#method.summary">Method</a></li>
  331. </ul>
  332. <ul class="subNavList">
  333. <li>Detail:&nbsp;</li>
  334. <li>Field&nbsp;|&nbsp;</li>
  335. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  336. <li><a href="#method.detail">Method</a></li>
  337. </ul>
  338. </div>
  339. <a name="skip.navbar.bottom">
  340. <!-- -->
  341. </a></div>
  342. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  343. <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>
  344. </body>
  345. </html>