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;
}