myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svieu...@apache.org
Subject svn commit: r167991 - /myfaces/trunk/src/components/org/apache/myfaces/component/html/ext/HtmlDataTableHack.java
Date Tue, 03 May 2005 20:53:14 GMT
Author: svieujot
Date: Tue May  3 13:53:13 2005
New Revision: 167991

URL: http://svn.apache.org/viewcvs?rev=167991&view=rev
Log:
Better error report for HtmlDataTableHack

Modified:
    myfaces/trunk/src/components/org/apache/myfaces/component/html/ext/HtmlDataTableHack.java

Modified: myfaces/trunk/src/components/org/apache/myfaces/component/html/ext/HtmlDataTableHack.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/components/org/apache/myfaces/component/html/ext/HtmlDataTableHack.java?rev=167991&r1=167990&r2=167991&view=diff
==============================================================================
--- myfaces/trunk/src/components/org/apache/myfaces/component/html/ext/HtmlDataTableHack.java
(original)
+++ myfaces/trunk/src/components/org/apache/myfaces/component/html/ext/HtmlDataTableHack.java
Tue May  3 13:53:13 2005
@@ -454,7 +454,7 @@
 
         public void setRowIndex(int i)
         {
-            if (i < -1) throw new IllegalArgumentException();
+            if (i < -1) throw new IndexOutOfBoundsException( "Index < 0 : "+i );
         }
 
         public Object getWrappedData()



Mime
View raw message