commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r828788 - /commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/
Date Thu, 22 Oct 2009 17:12:43 GMT
Author: niallp
Date: Thu Oct 22 17:12:42 2009
New Revision: 828788

URL: http://svn.apache.org/viewvc?rev=828788&view=rev
Log:
Add some more javadocs

Modified:
    commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java
    commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java
    commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintViolationException.java
    commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/GroupDefinitionException.java
    commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/UnexpectedTypeException.java
    commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ValidationException.java

Modified: commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java?rev=828788&r1=828787&r2=828788&view=diff
==============================================================================
--- commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java
(original)
+++ commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDeclarationException.java
Thu Oct 22 17:12:42 2009
@@ -26,17 +26,36 @@
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Construct an exception with no message or cause.
+     */
     public ConstraintDeclarationException() {
     }
 
+    /**
+     * Construct an exception with a message but no cause.
+     *
+     * @param message The error message
+     */
     public ConstraintDeclarationException(String message) {
         super(message);
     }
 
+    /**
+     * Construct an exception with a message and cause.
+     *
+     * @param message The error message
+     * @param cause The root cause of the exception
+     */
     public ConstraintDeclarationException(String message, Throwable cause) {
         super(message, cause);
     }
 
+    /**
+     * Construct an exception with a cause but no message.
+     *
+     * @param cause The root cause of the exception
+     */
     public ConstraintDeclarationException(Throwable cause) {
         super(cause);
     }

Modified: commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java?rev=828788&r1=828787&r2=828788&view=diff
==============================================================================
--- commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java
(original)
+++ commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintDefinitionException.java
Thu Oct 22 17:12:42 2009
@@ -26,17 +26,36 @@
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Construct an exception with no message or cause.
+     */
     public ConstraintDefinitionException() {
     }
 
+    /**
+     * Construct an exception with a message but no cause.
+     *
+     * @param message The error message
+     */
     public ConstraintDefinitionException(String message) {
         super(message);
     }
 
+    /**
+     * Construct an exception with a message and cause.
+     *
+     * @param message The error message
+     * @param cause The root cause of the exception
+     */
     public ConstraintDefinitionException(String message, Throwable cause) {
         super(message, cause);
     }
 
+    /**
+     * Construct an exception with a cause but no message.
+     *
+     * @param cause The root cause of the exception
+     */
     public ConstraintDefinitionException(Throwable cause) {
         super(cause);
     }

Modified: commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintViolationException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintViolationException.java?rev=828788&r1=828787&r2=828788&view=diff
==============================================================================
--- commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintViolationException.java
(original)
+++ commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ConstraintViolationException.java
Thu Oct 22 17:12:42 2009
@@ -26,17 +26,36 @@
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Construct an exception with no message or cause.
+     */
     public ConstraintViolationException() {
     }
 
+    /**
+     * Construct an exception with a message but no cause.
+     *
+     * @param message The error message
+     */
     public ConstraintViolationException(String message) {
         super(message);
     }
 
+    /**
+     * Construct an exception with a message and cause.
+     *
+     * @param message The error message
+     * @param cause The root cause of the exception
+     */
     public ConstraintViolationException(String message, Throwable cause) {
         super(message, cause);
     }
 
+    /**
+     * Construct an exception with a cause but no message.
+     *
+     * @param cause The root cause of the exception
+     */
     public ConstraintViolationException(Throwable cause) {
         super(cause);
     }

Modified: commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/GroupDefinitionException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/GroupDefinitionException.java?rev=828788&r1=828787&r2=828788&view=diff
==============================================================================
--- commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/GroupDefinitionException.java
(original)
+++ commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/GroupDefinitionException.java
Thu Oct 22 17:12:42 2009
@@ -26,17 +26,36 @@
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Construct an exception with no message or cause.
+     */
     public GroupDefinitionException() {
     }
 
+    /**
+     * Construct an exception with a message but no cause.
+     *
+     * @param message The error message
+     */
     public GroupDefinitionException(String message) {
         super(message);
     }
 
+    /**
+     * Construct an exception with a message and cause.
+     *
+     * @param message The error message
+     * @param cause The root cause of the exception
+     */
     public GroupDefinitionException(String message, Throwable cause) {
         super(message, cause);
     }
 
+    /**
+     * Construct an exception with a cause but no message.
+     *
+     * @param cause The root cause of the exception
+     */
     public GroupDefinitionException(Throwable cause) {
         super(cause);
     }

Modified: commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/UnexpectedTypeException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/UnexpectedTypeException.java?rev=828788&r1=828787&r2=828788&view=diff
==============================================================================
--- commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/UnexpectedTypeException.java
(original)
+++ commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/UnexpectedTypeException.java
Thu Oct 22 17:12:42 2009
@@ -26,17 +26,36 @@
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Construct an exception with no message or cause.
+     */
     public UnexpectedTypeException() {
     }
 
+    /**
+     * Construct an exception with a message but no cause.
+     *
+     * @param message The error message
+     */
     public UnexpectedTypeException(String message) {
         super(message);
     }
 
+    /**
+     * Construct an exception with a message and cause.
+     *
+     * @param message The error message
+     * @param cause The root cause of the exception
+     */
     public UnexpectedTypeException(String message, Throwable cause) {
         super(message, cause);
     }
 
+    /**
+     * Construct an exception with a cause but no message.
+     *
+     * @param cause The root cause of the exception
+     */
     public UnexpectedTypeException(Throwable cause) {
         super(cause);
     }

Modified: commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ValidationException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ValidationException.java?rev=828788&r1=828787&r2=828788&view=diff
==============================================================================
--- commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ValidationException.java
(original)
+++ commons/sandbox/validator2/branches/alternative/validation-api/src/main/java/javax/validation/ValidationException.java
Thu Oct 22 17:12:42 2009
@@ -26,17 +26,36 @@
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Construct an exception with no message or cause.
+     */
     public ValidationException() {
     }
 
+    /**
+     * Construct an exception with a message but no cause.
+     *
+     * @param message The error message
+     */
     public ValidationException(String message) {
         super(message);
     }
     
+    /**
+     * Construct an exception with a message and cause.
+     *
+     * @param message The error message
+     * @param cause The root cause of the exception
+     */
     public ValidationException(String message, Throwable cause) {
         super(message, cause);
     }
 
+    /**
+     * Construct an exception with a cause but no message.
+     *
+     * @param cause The root cause of the exception
+     */
     public ValidationException(Throwable cause) {
         super(cause);
     }



Mime
View raw message