commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r961648 - /commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java
Date Thu, 08 Jul 2010 09:04:07 GMT
Author: simonetripodi
Date: Thu Jul  8 09:04:07 2010
New Revision: 961648

URL: http://svn.apache.org/viewvc?rev=961648&view=rev
Log:
added exception on method signature
minor javadoc

Modified:
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java

Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java?rev=961648&r1=961647&r2=961648&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java
(original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/AnnotationRuleProviderFactory.java
Thu Jul  8 09:04:07 2010
@@ -35,10 +35,12 @@ public interface AnnotationRuleProviderF
      * @param <A>
      * @param <E>
      * @param <R>
-     * @param type
-     * @return
+     * @param type the class of the object to be returned.
+     * @return an instance of the specified class.
+     * @throws DigesterLoadingException if any error occurs while creating the
+     *         {@code type} instance.
      */
     <A extends Annotation, E extends AnnotatedElement, R extends Rule>
-        AnnotationRuleProvider<A, E, R> newInstance(Class<? extends AnnotationRuleProvider<A,
E, R>> type);
+        AnnotationRuleProvider<A, E, R> newInstance(Class<? extends AnnotationRuleProvider<A,
E, R>> type) throws DigesterLoadingException;
 
 }



Mime
View raw message