Skip to content

Commit 33abc03

Browse files
committed
Reformatting of the exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/branches/cli-1.x@661632 13f79535-47bb-0310-9956-ffa450edef68
1 parent 51f4ee7 commit 33abc03

5 files changed

Lines changed: 48 additions & 47 deletions

File tree

src/java/org/apache/commons/cli/AlreadySelectedException.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
package org.apache.commons.cli;
1819

19-
/**
20-
* <p>Thrown when more than one option in an option group
21-
* has been provided.</p>
20+
/**
21+
* Thrown when more than one option in an option group
22+
* has been provided.
2223
*
2324
* @author John Keyes ( john at integralsource.com )
2425
* @see ParseException
2526
*/
26-
public class AlreadySelectedException
27-
extends ParseException {
28-
29-
/**
30-
* <p>Construct a new <code>AlreadySelectedException</code>
31-
* with the specified detail message.</p>
27+
public class AlreadySelectedException extends ParseException
28+
{
29+
/**
30+
* Construct a new <code>AlreadySelectedException</code>
31+
* with the specified detail message.
3232
*
3333
* @param message the detail message
3434
*/
3535
public AlreadySelectedException(String message)
3636
{
3737
super(message);
3838
}
39-
}
39+
}

src/java/org/apache/commons/cli/MissingArgumentException.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
package org.apache.commons.cli;
1819

19-
/**
20-
* <p>Thrown when an option requiring an argument
21-
* is not provided with an argument.</p>
20+
/**
21+
* Thrown when an option requiring an argument
22+
* is not provided with an argument.
2223
*
2324
* @author John Keyes (john at integralsource.com)
2425
* @see ParseException
2526
*/
26-
public class MissingArgumentException
27-
extends ParseException {
28-
29-
/**
30-
* <p>Construct a new <code>MissingArgumentException</code>
31-
* with the specified detail message.</p>
27+
public class MissingArgumentException extends ParseException
28+
{
29+
/**
30+
* Construct a new <code>MissingArgumentException</code>
31+
* with the specified detail message.
3232
*
3333
* @param message the detail message
3434
*/
3535
public MissingArgumentException(String message)
3636
{
3737
super(message);
3838
}
39-
}
39+
}

src/java/org/apache/commons/cli/MissingOptionException.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
package org.apache.commons.cli;
1819

19-
/**
20-
* <p>Thrown when a required option has not been provided.</p>
20+
/**
21+
* Thrown when a required option has not been provided.
2122
*
2223
* @author John Keyes ( john at integralsource.com )
2324
* @see ParseException
2425
*/
25-
public class MissingOptionException
26-
extends ParseException {
27-
28-
/**
29-
* <p>Construct a new <code>MissingSelectedException</code>
30-
* with the specified detail message.</p>
26+
public class MissingOptionException extends ParseException
27+
{
28+
/**
29+
* Construct a new <code>MissingSelectedException</code>
30+
* with the specified detail message.
3131
*
3232
* @param message the detail message
3333
*/
3434
public MissingOptionException(String message)
3535
{
3636
super(message);
3737
}
38-
}
38+
}

src/java/org/apache/commons/cli/ParseException.java

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,25 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
package org.apache.commons.cli;
1819

19-
/**
20-
* <p>Base for Exceptions thrown during parsing of a command-line.</p>
20+
/**
21+
* Base for Exceptions thrown during parsing of a command-line.
2122
*
2223
* @author bob mcwhirter (bob @ werken.com)
2324
* @version $Revision$
2425
*/
25-
public class ParseException extends Exception {
26-
27-
/**
28-
* <p>Construct a new <code>ParseException</code>
29-
* with the specified detail message.</p>
26+
public class ParseException extends Exception
27+
{
28+
/**
29+
* Construct a new <code>ParseException</code>
30+
* with the specified detail message.
3031
*
3132
* @param message the detail message
3233
*/
3334
public ParseException(String message)
3435
{
3536
super(message);
3637
}
37-
}
38+
}

src/java/org/apache/commons/cli/UnrecognizedOptionException.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
package org.apache.commons.cli;
1819

19-
/**
20-
* <p>Exception thrown during parsing signalling an unrecognized
21-
* option was seen.<p>
20+
/**
21+
* Exception thrown during parsing signalling an unrecognized
22+
* option was seen.
2223
*
2324
* @author bob mcwhiter (bob @ werken.com)
2425
* @version $Revision$
2526
*/
26-
public class UnrecognizedOptionException
27-
extends ParseException {
28-
29-
/**
30-
* <p>Construct a new <code>UnrecognizedArgumentException</code>
31-
* with the specified detail message.</p>
27+
public class UnrecognizedOptionException extends ParseException
28+
{
29+
/**
30+
* Construct a new <code>UnrecognizedArgumentException</code>
31+
* with the specified detail message.
3232
*
3333
* @param message the detail message
3434
*/
3535
public UnrecognizedOptionException(String message)
3636
{
3737
super(message);
3838
}
39-
}
39+
}

0 commit comments

Comments
 (0)