click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1055697 - /click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java
Date Thu, 06 Jan 2011 01:16:31 GMT
Author: sabob
Date: Thu Jan  6 01:16:31 2011
New Revision: 1055697

URL: http://svn.apache.org/viewvc?rev=1055697&view=rev
Log:
fix IllegalArgumentException error

Modified:
    click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java

Modified: click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java
URL: http://svn.apache.org/viewvc/click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java?rev=1055697&r1=1055696&r2=1055697&view=diff
==============================================================================
--- click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java
(original)
+++ click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java
Thu Jan  6 01:16:31 2011
@@ -57,8 +57,8 @@ public class ExceptionPage extends Borde
     }
 
     public boolean onIllegalArgumentExceptionClick() {
-        addModel("param-1", "First Parameter");
-        addModel("param-1", "Second Parameter");
+        // Null model value should throw IllegalArgumentException
+        addModel("param-1", null);
         return true;
     }
 



Mime
View raw message