HibernateGroupSet no longer depends on SpringTestCase.
[utils] / system / general / src / main / java / org / wamblee / system / adapters / SetterConfiguration.java
index 83992d388d5f325d55ee75e33ee3ee1f9e8cbb75..374edae6cb12a3afb767070985dbc444f54bcd7a 100644 (file)
@@ -118,7 +118,7 @@ public class SetterConfiguration {
 
                 });
         if ( _setters.size() == oldlen) { 
-            throw new IllegalArgumentException("No setter found for '" + aName + "'");
+            throw new IllegalArgumentException("No setter found for '" + aName + "' in " + _class.getName());
         }
         return this;
     }
@@ -160,7 +160,7 @@ public class SetterConfiguration {
      * @param aScope Scope within which invocation takes place. 
      * @param aObject Object on which the invocation takes place. 
      */
-    public void invoke(Scope aScope, Object aObject) {
+    public void inject(Scope aScope, Object aObject) {
         if ( !_class.isInstance(aObject)) { 
             throw new IllegalArgumentException("Object '" + aObject + "' is not an instance of " 
                     + _class.getName());