Author: jbq
Date: Fri Feb 23 15:00:04 2007
New Revision: 511160

URL: http://svn.apache.org/viewvc?view=rev&rev=511160
Log:
IllegalStateException(Throwable) only exists since Java 1.5

Modified:
    
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/util/tester/TagTester.java

Modified: 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/util/tester/TagTester.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/util/tester/TagTester.java?view=diff&rev=511160&r1=511159&r2=511160
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/util/tester/TagTester.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/util/tester/TagTester.java
 Fri Feb 23 15:00:04 2007
@@ -267,7 +267,8 @@
                        }
                        catch (Exception e)
                        {
-                               throw new IllegalStateException(e);
+                               // NOTE: IllegalStateException(Throwable) only 
exists since Java 1.5
+                               throw new WicketRuntimeException(e);
                        }
 
                }


Reply via email to