[jboss-cvs] JBossAS SVN: r60338 - projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 6 14:00:19 EST 2007
Author: alesj
Date: 2007-02-06 14:00:19 -0500 (Tue, 06 Feb 2007)
New Revision: 60338
Modified:
projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins/NestedPropertyInfo.java
Log:
Better undetermined exception info.
Modified: projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins/NestedPropertyInfo.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins/NestedPropertyInfo.java 2007-02-06 16:52:34 UTC (rev 60337)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins/NestedPropertyInfo.java 2007-02-06 19:00:19 UTC (rev 60338)
@@ -158,7 +158,7 @@
public MethodInfo getGetter()
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + name);
}
public void setGetter(MethodInfo getter)
@@ -168,7 +168,7 @@
public MethodInfo getSetter()
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + name);
}
public void setSetter(MethodInfo setter)
@@ -178,32 +178,32 @@
public AnnotationValue[] getAnnotations()
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + name);
}
public AnnotationValue getAnnotation(String name)
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + this.name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + this.name);
}
public boolean isAnnotationPresent(String name)
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + this.name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + this.name);
}
public Annotation[] getUnderlyingAnnotations()
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + name);
}
public <T extends Annotation> T getUnderlyingAnnotation(Class<T> annotationType)
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + name);
}
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
{
- throw new IllegalArgumentException("Unable to determine right PropertyInfo by name: " + name);
+ throw new IllegalArgumentException("Unable to determine right PropertyInfo on " + beanInfo + " by name: " + name);
}
}
More information about the jboss-cvs-commits
mailing list