You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by al...@apache.org on 2007/08/16 22:09:30 UTC
svn commit: r566820 -
/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/PageParameters.java
Author: almaw
Date: Thu Aug 16 13:09:29 2007
New Revision: 566820
URL: http://svn.apache.org/viewvc?view=rev&rev=566820
Log:
WicketRuntimeException -> IllegalArgumentException for invalid key/value pair types.
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/PageParameters.java
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/PageParameters.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/PageParameters.java?view=diff&rev=566820&r1=566819&r2=566820
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/PageParameters.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/PageParameters.java Thu Aug 16 13:09:29 2007
@@ -148,7 +148,7 @@
}
else
{
- throw new WicketRuntimeException("You tried to add an object of type " +
+ throw new IllegalArgumentException("You tried to add an object of type " +
value.getClass().getName() + " to your PageParameters for key " + key +
", but you are only allowed to use String or String[].");
}