[jboss-cvs] JBossAS SVN: r60324 - 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 07:19:16 EST 2007
Author: alesj
Date: 2007-02-06 07:19:16 -0500 (Tue, 06 Feb 2007)
New Revision: 60324
Modified:
projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins/NestedPropertyInfo.java
Log:
Better 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 12:15:01 UTC (rev 60323)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/beans/info/plugins/NestedPropertyInfo.java 2007-02-06 12:19:16 UTC (rev 60324)
@@ -51,7 +51,7 @@
public Object get(Object bean) throws Throwable
{
- throw new IllegalArgumentException("Unable to determine getter!");
+ throw new IllegalArgumentException("Unable to determine getter on " + bean + " for property " + name);
}
public void set(Object bean, Object value) throws Throwable
@@ -72,7 +72,7 @@
}
}
}
- throw new IllegalArgumentException("Unable to determine setter!");
+ throw new IllegalArgumentException("Unable to determine setter on " + bean + " for property " + name + " with value " + value);
}
}
More information about the jboss-cvs-commits
mailing list