commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1209987 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/ObjectCreateHandler.java
Date Sat, 03 Dec 2011 19:30:52 GMT
Author: simonetripodi
Date: Sat Dec  3 19:30:52 2011
New Revision: 1209987

URL: http://svn.apache.org/viewvc?rev=1209987&view=rev
Log:
added missing error message

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/ObjectCreateHandler.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/ObjectCreateHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/ObjectCreateHandler.java?rev=1209987&r1=1209986&r2=1209987&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/ObjectCreateHandler.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/annotations/handlers/ObjectCreateHandler.java
Sat Dec  3 19:30:52 2011
@@ -52,7 +52,8 @@ public final class ObjectCreateHandler
         }
         else
         {
-            rulesBinder.addError( "", element );
+            rulesBinder.addError( "Misplaced @ObjectCreate annotation to %s, Class and Constructor
only supported",
+                                  element );
             return;
         }
 



Mime
View raw message