@@ -67,6 +67,8 @@ protected List getRequiredOptions()
6767 * @param stopAtNonOption specifies whether to stop
6868 * flattening when a non option has been encountered
6969 * @return a String array of the flattened arguments
70+ * @throws ParseException if there are any problems encountered
71+ * while parsing the command line tokens.
7072 */
7173 protected abstract String [] flatten (Options opts , String [] arguments , boolean stopAtNonOption )
7274 throws ParseException ;
@@ -78,8 +80,8 @@ protected abstract String[] flatten(Options opts, String[] arguments, boolean st
7880 * @param options the <code>Options</code>
7981 * @param arguments the <code>arguments</code>
8082 * @return the <code>CommandLine</code>
81- * @throws ParseException if an error occurs when parsing the
82- * arguments .
83+ * @throws ParseException if there are any problems encountered
84+ * while parsing the command line tokens .
8385 */
8486 public CommandLine parse (Options options , String [] arguments ) throws ParseException
8587 {
@@ -246,6 +248,8 @@ else if (t.startsWith("-"))
246248 * Sets the values of Options using the values in <code>properties</code>.
247249 *
248250 * @param properties The value properties to be processed.
251+ * @throws ParseException if there are any problems encountered
252+ * while processing the properties.
249253 */
250254 protected void processProperties (Properties properties ) throws ParseException
251255 {
0 commit comments