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.

AlreadySelectedException.html 18 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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>AlreadySelectedException (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="AlreadySelectedException (Apache Commons CLI 1.4 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":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/AlreadySelectedException.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>Prev&nbsp;Class</li>
  52. <li><a href="../../../../org/apache/commons/cli/AmbiguousOptionException.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/AlreadySelectedException.html" target="_top">Frames</a></li>
  56. <li><a href="AlreadySelectedException.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 AlreadySelectedException" class="title">Class AlreadySelectedException</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.AlreadySelectedException</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">AlreadySelectedException</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 more than one option in an option group
  133. has been provided.</div>
  134. <dl>
  135. <dt><span class="simpleTagLabel">Version:</span></dt>
  136. <dd>$Id: AlreadySelectedException.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.AlreadySelectedException">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/AlreadySelectedException.html#AlreadySelectedException-org.apache.commons.cli.OptionGroup-org.apache.commons.cli.Option-">AlreadySelectedException</a></span>(<a href="../../../../org/apache/commons/cli/OptionGroup.html" title="class in org.apache.commons.cli">OptionGroup</a>&nbsp;group,
  159. <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a>&nbsp;option)</code>
  160. <div class="block">Construct a new <code>AlreadySelectedException</code>
  161. for the specified option group.</div>
  162. </td>
  163. </tr>
  164. <tr class="rowColor">
  165. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/AlreadySelectedException.html#AlreadySelectedException-java.lang.String-">AlreadySelectedException</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>
  166. <div class="block">Construct a new <code>AlreadySelectedException</code>
  167. with the specified detail message.</div>
  168. </td>
  169. </tr>
  170. </table>
  171. </li>
  172. </ul>
  173. <!-- ========== METHOD SUMMARY =========== -->
  174. <ul class="blockList">
  175. <li class="blockList"><a name="method.summary">
  176. <!-- -->
  177. </a>
  178. <h3>Method Summary</h3>
  179. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  180. <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>
  181. <tr>
  182. <th class="colFirst" scope="col">Modifier and Type</th>
  183. <th class="colLast" scope="col">Method and Description</th>
  184. </tr>
  185. <tr id="i0" class="altColor">
  186. <td class="colFirst"><code><a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a></code></td>
  187. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/AlreadySelectedException.html#getOption--">getOption</a></span>()</code>
  188. <div class="block">Returns the option that was added to the group and triggered the exception.</div>
  189. </td>
  190. </tr>
  191. <tr id="i1" class="rowColor">
  192. <td class="colFirst"><code><a href="../../../../org/apache/commons/cli/OptionGroup.html" title="class in org.apache.commons.cli">OptionGroup</a></code></td>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/AlreadySelectedException.html#getOptionGroup--">getOptionGroup</a></span>()</code>
  194. <div class="block">Returns the option group where another option has been selected.</div>
  195. </td>
  196. </tr>
  197. </table>
  198. <ul class="blockList">
  199. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
  200. <!-- -->
  201. </a>
  202. <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>
  203. <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>
  204. </ul>
  205. <ul class="blockList">
  206. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  207. <!-- -->
  208. </a>
  209. <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>
  210. <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>
  211. </ul>
  212. </li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </div>
  217. <div class="details">
  218. <ul class="blockList">
  219. <li class="blockList">
  220. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  221. <ul class="blockList">
  222. <li class="blockList"><a name="constructor.detail">
  223. <!-- -->
  224. </a>
  225. <h3>Constructor Detail</h3>
  226. <a name="AlreadySelectedException-java.lang.String-">
  227. <!-- -->
  228. </a>
  229. <ul class="blockList">
  230. <li class="blockList">
  231. <h4>AlreadySelectedException</h4>
  232. <pre>public&nbsp;AlreadySelectedException(<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>
  233. <div class="block">Construct a new <code>AlreadySelectedException</code>
  234. with the specified detail message.</div>
  235. <dl>
  236. <dt><span class="paramLabel">Parameters:</span></dt>
  237. <dd><code>message</code> - the detail message</dd>
  238. </dl>
  239. </li>
  240. </ul>
  241. <a name="AlreadySelectedException-org.apache.commons.cli.OptionGroup-org.apache.commons.cli.Option-">
  242. <!-- -->
  243. </a>
  244. <ul class="blockListLast">
  245. <li class="blockList">
  246. <h4>AlreadySelectedException</h4>
  247. <pre>public&nbsp;AlreadySelectedException(<a href="../../../../org/apache/commons/cli/OptionGroup.html" title="class in org.apache.commons.cli">OptionGroup</a>&nbsp;group,
  248. <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a>&nbsp;option)</pre>
  249. <div class="block">Construct a new <code>AlreadySelectedException</code>
  250. for the specified option group.</div>
  251. <dl>
  252. <dt><span class="paramLabel">Parameters:</span></dt>
  253. <dd><code>group</code> - the option group already selected</dd>
  254. <dd><code>option</code> - the option that triggered the exception</dd>
  255. <dt><span class="simpleTagLabel">Since:</span></dt>
  256. <dd>1.2</dd>
  257. </dl>
  258. </li>
  259. </ul>
  260. </li>
  261. </ul>
  262. <!-- ============ METHOD DETAIL ========== -->
  263. <ul class="blockList">
  264. <li class="blockList"><a name="method.detail">
  265. <!-- -->
  266. </a>
  267. <h3>Method Detail</h3>
  268. <a name="getOptionGroup--">
  269. <!-- -->
  270. </a>
  271. <ul class="blockList">
  272. <li class="blockList">
  273. <h4>getOptionGroup</h4>
  274. <pre>public&nbsp;<a href="../../../../org/apache/commons/cli/OptionGroup.html" title="class in org.apache.commons.cli">OptionGroup</a>&nbsp;getOptionGroup()</pre>
  275. <div class="block">Returns the option group where another option has been selected.</div>
  276. <dl>
  277. <dt><span class="returnLabel">Returns:</span></dt>
  278. <dd>the related option group</dd>
  279. <dt><span class="simpleTagLabel">Since:</span></dt>
  280. <dd>1.2</dd>
  281. </dl>
  282. </li>
  283. </ul>
  284. <a name="getOption--">
  285. <!-- -->
  286. </a>
  287. <ul class="blockListLast">
  288. <li class="blockList">
  289. <h4>getOption</h4>
  290. <pre>public&nbsp;<a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a>&nbsp;getOption()</pre>
  291. <div class="block">Returns the option that was added to the group and triggered the exception.</div>
  292. <dl>
  293. <dt><span class="returnLabel">Returns:</span></dt>
  294. <dd>the related option</dd>
  295. <dt><span class="simpleTagLabel">Since:</span></dt>
  296. <dd>1.2</dd>
  297. </dl>
  298. </li>
  299. </ul>
  300. </li>
  301. </ul>
  302. </li>
  303. </ul>
  304. </div>
  305. </div>
  306. <!-- ========= END OF CLASS DATA ========= -->
  307. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  308. <div class="bottomNav"><a name="navbar.bottom">
  309. <!-- -->
  310. </a>
  311. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  312. <a name="navbar.bottom.firstrow">
  313. <!-- -->
  314. </a>
  315. <ul class="navList" title="Navigation">
  316. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  317. <li class="navBarCell1Rev">Class</li>
  318. <li><a href="class-use/AlreadySelectedException.html">Use</a></li>
  319. <li><a href="package-tree.html">Tree</a></li>
  320. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  321. <li><a href="../../../../index-all.html">Index</a></li>
  322. <li><a href="../../../../help-doc.html">Help</a></li>
  323. </ul>
  324. </div>
  325. <div class="subNav">
  326. <ul class="navList">
  327. <li>Prev&nbsp;Class</li>
  328. <li><a href="../../../../org/apache/commons/cli/AmbiguousOptionException.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  329. </ul>
  330. <ul class="navList">
  331. <li><a href="../../../../index.html?org/apache/commons/cli/AlreadySelectedException.html" target="_top">Frames</a></li>
  332. <li><a href="AlreadySelectedException.html" target="_top">No&nbsp;Frames</a></li>
  333. </ul>
  334. <ul class="navList" id="allclasses_navbar_bottom">
  335. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  336. </ul>
  337. <div>
  338. <script type="text/javascript"><!--
  339. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  340. if(window==top) {
  341. allClassesLink.style.display = "block";
  342. }
  343. else {
  344. allClassesLink.style.display = "none";
  345. }
  346. //-->
  347. </script>
  348. </div>
  349. <div>
  350. <ul class="subNavList">
  351. <li>Summary:&nbsp;</li>
  352. <li>Nested&nbsp;|&nbsp;</li>
  353. <li>Field&nbsp;|&nbsp;</li>
  354. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  355. <li><a href="#method.summary">Method</a></li>
  356. </ul>
  357. <ul class="subNavList">
  358. <li>Detail:&nbsp;</li>
  359. <li>Field&nbsp;|&nbsp;</li>
  360. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  361. <li><a href="#method.detail">Method</a></li>
  362. </ul>
  363. </div>
  364. <a name="skip.navbar.bottom">
  365. <!-- -->
  366. </a></div>
  367. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  368. <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>
  369. </body>
  370. </html>