tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1196376 - in /tapestry/tapestry5/trunk/tapestry-core/src/main: java/org/apache/tapestry5/internal/util/ resources/org/apache/tapestry5/internal/util/
Date Tue, 01 Nov 2011 23:11:50 GMT
Author: hlship
Date: Tue Nov  1 23:11:49 2011
New Revision: 1196376

URL: http://svn.apache.org/viewvc?rev=1196376&view=rev
Log:
Remove class UtilMessages (tapestry-core)

Removed:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/UtilMessages.java
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/internal/util/UtilStrings.properties
Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/NotificationEventCallback.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/NotificationEventCallback.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/NotificationEventCallback.java?rev=1196376&r1=1196375&r2=1196376&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/NotificationEventCallback.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/NotificationEventCallback.java
Tue Nov  1 23:11:49 2011
@@ -37,7 +37,8 @@ public class NotificationEventCallback i
         if (result instanceof Boolean) return ((Boolean) result);
 
         throw new IllegalArgumentException(
-                UtilMessages.noReturnValueAccepted(eventType, completeId, result));
+                String.format("Event '%s' from %s received an event handler method return
value of %s. This type of event does not support return values from event handler methods.",
eventType, completeId, String
+                        .valueOf(result)));
     }
 
 }



Mime
View raw message