Changeset 70
- Timestamp:
- 10/15/07 12:27:34 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/java/net/schst/XJConf/TagDefinition.java
r64 r70 3 3 import java.lang.reflect.InvocationTargetException; 4 4 import java.lang.reflect.Method; 5 import java.lang.reflect.Modifier; 5 6 import java.util.ArrayList; 6 7 import java.util.List; … … 13 14 * 14 15 * @author Stephan Schmidt <stephan.schmidt@schlund.de> 16 * @author Dunja Fehrenbach <dunja@schlund.de> 15 17 */ 16 18 public class TagDefinition implements Definition, Cloneable { … … 382 384 } 383 385 if (childMethod == null) { 384 throw new ValueConversionException("Could not add child " + child.getKey() + " to " + this.getType() + " using "+methodName+"()."); 386 throw new ValueConversionException("Could not add child " + child.getKey() + " to " + this.getType() + " using "+methodName+"() because this method does not exist."); 387 } else if (Modifier.toString(childMethod.getModifiers()).contains("private")) { 388 throw new ValueConversionException("Could not add child " + child.getKey() + " to " + this.getType() + " using "+methodName+"() because this method is private."); 385 389 } 386 390 childMethod.invoke(instance, childParams);
