I have a DataTable (Wicket-extensions) that gets data from JDBC.  My implementation of:

 

java.util.Iterator IDataProvider.iterator(int first, int count)

 

throws a variety of API exceptions (e.g. SQLException) which I have to catch, because the IDataProvider interface does not allow my method to throw them.  There is nothing I can do to recover; I just want to do the standard default correct thing.

 

I suppose my application should have an error page registered, and my exception handler should link to it.  Would someone please point me to an example or send me some sample code demonstrating the standard Wicket way of doing this?

 

Thank you.

Reply via email to