Yes that check is done in the constructor
public ListView(String name, List object)
{
super(name, castToSerializable(object));
}I added the index to the message of the exception and made the exception a ClassCast.
johan
Juergen Donnerstag wrote:
Nothing is wrong with ClassCastException. It makes more sense than IllegalArgumentException.
Do we still check that the while List implementation provided (not the list item) is Serializable as well?
regards Juergen
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
