commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r661632 - in /commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli: AlreadySelectedException.java MissingArgumentException.java MissingOptionException.java ParseException.java UnrecognizedOptionException.java
Date Fri, 30 May 2008 10:19:47 GMT
Author: ebourg
Date: Fri May 30 03:19:46 2008
New Revision: 661632

URL: http://svn.apache.org/viewvc?rev=661632&view=rev
Log:
Reformatting of the exceptions

Modified:
    commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/AlreadySelectedException.java
    commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingArgumentException.java
    commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingOptionException.java
    commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/ParseException.java
    commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/UnrecognizedOptionException.java

Modified: commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/AlreadySelectedException.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/AlreadySelectedException.java?rev=661632&r1=661631&r2=661632&view=diff
==============================================================================
--- commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/AlreadySelectedException.java
(original)
+++ commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/AlreadySelectedException.java
Fri May 30 03:19:46 2008
@@ -14,21 +14,21 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.commons.cli;
 
-/** 
- * <p>Thrown when more than one option in an option group
- * has been provided.</p>
+/**
+ * Thrown when more than one option in an option group
+ * has been provided.
  *
  * @author John Keyes ( john at integralsource.com )
  * @see ParseException
  */
-public class AlreadySelectedException
-    extends ParseException {
-
-    /** 
-     * <p>Construct a new <code>AlreadySelectedException</code> 
-     * with the specified detail message.</p>
+public class AlreadySelectedException extends ParseException
+{
+    /**
+     * Construct a new <code>AlreadySelectedException</code>
+     * with the specified detail message.
      *
      * @param message the detail message
      */
@@ -36,4 +36,4 @@
     {
         super(message);
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingArgumentException.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingArgumentException.java?rev=661632&r1=661631&r2=661632&view=diff
==============================================================================
--- commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingArgumentException.java
(original)
+++ commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingArgumentException.java
Fri May 30 03:19:46 2008
@@ -14,21 +14,21 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.commons.cli;
 
-/** 
- * <p>Thrown when an option requiring an argument
- * is not provided with an argument.</p>
+/**
+ * Thrown when an option requiring an argument
+ * is not provided with an argument.
  *
  * @author John Keyes (john at integralsource.com)
  * @see ParseException
  */
-public class MissingArgumentException
-    extends ParseException {
-
-    /** 
-     * <p>Construct a new <code>MissingArgumentException</code> 
-     * with the specified detail message.</p>
+public class MissingArgumentException extends ParseException
+{
+    /**
+     * Construct a new <code>MissingArgumentException</code>
+     * with the specified detail message.
      *
      * @param message the detail message
      */
@@ -36,4 +36,4 @@
     {
         super(message);
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingOptionException.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingOptionException.java?rev=661632&r1=661631&r2=661632&view=diff
==============================================================================
--- commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingOptionException.java
(original)
+++ commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/MissingOptionException.java
Fri May 30 03:19:46 2008
@@ -14,20 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.commons.cli;
 
-/** 
- * <p>Thrown when a required option has not been provided.</p>
+/**
+ * Thrown when a required option has not been provided.
  *
  * @author John Keyes ( john at integralsource.com )
  * @see ParseException
  */
-public class MissingOptionException
-    extends ParseException {
-
-    /** 
-     * <p>Construct a new <code>MissingSelectedException</code> 
-     * with the specified detail message.</p>
+public class MissingOptionException extends ParseException
+{
+    /**
+     * Construct a new <code>MissingSelectedException</code>
+     * with the specified detail message.
      *
      * @param message the detail message
      */
@@ -35,4 +35,4 @@
     {
         super(message);
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/ParseException.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/ParseException.java?rev=661632&r1=661631&r2=661632&view=diff
==============================================================================
--- commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/ParseException.java
(original)
+++ commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/ParseException.java
Fri May 30 03:19:46 2008
@@ -14,19 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.commons.cli;
 
-/** 
- * <p>Base for Exceptions thrown during parsing of a command-line.</p>
+/**
+ * Base for Exceptions thrown during parsing of a command-line.
  *
  * @author bob mcwhirter (bob @ werken.com)
  * @version $Revision$
  */
-public class ParseException extends Exception {
-
-    /** 
-     * <p>Construct a new <code>ParseException</code> 
-     * with the specified detail message.</p>
+public class ParseException extends Exception
+{
+    /**
+     * Construct a new <code>ParseException</code>
+     * with the specified detail message.
      *
      * @param message the detail message
      */
@@ -34,4 +35,4 @@
     {
         super(message);
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/UnrecognizedOptionException.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/UnrecognizedOptionException.java?rev=661632&r1=661631&r2=661632&view=diff
==============================================================================
--- commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/UnrecognizedOptionException.java
(original)
+++ commons/proper/cli/branches/cli-1.x/src/java/org/apache/commons/cli/UnrecognizedOptionException.java
Fri May 30 03:19:46 2008
@@ -14,21 +14,21 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.commons.cli;
 
-/** 
- * <p>Exception thrown during parsing signalling an unrecognized
- * option was seen.<p>
+/**
+ * Exception thrown during parsing signalling an unrecognized
+ * option was seen.
  *
  * @author bob mcwhiter (bob @ werken.com)
  * @version $Revision$
  */
-public class UnrecognizedOptionException
-    extends ParseException {
-
-    /** 
-     * <p>Construct a new <code>UnrecognizedArgumentException</code> 
-     * with the specified detail message.</p>
+public class UnrecognizedOptionException extends ParseException
+{
+    /**
+     * Construct a new <code>UnrecognizedArgumentException</code>
+     * with the specified detail message.
      *
      * @param message the detail message
      */
@@ -36,4 +36,4 @@
     {
         super(message);
     }
-}
\ No newline at end of file
+}



Mime
View raw message