imho any exception that occurs inside idataprovider is unrecoverable so a runtime exception would be appropriate.

if we introduce throws Exception then a lot of classes have to also include that and it will get messy

just wrap the exception with a runtimeexception

-Igor


On 7/13/06, Michael Welter <[EMAIL PROTECTED] > wrote:
In my class that implements IDataProvider, I perform database I/O.
However, there is no way to pass an exception back to the caller.

Would it be possible to change the signatures for the interator function
in IDataProvider to include "throws Exception"?  Is there a better way
to signal an exception condition?

Thanks,

--
Michael Welter
Telecom Matters Corp.
Denver, Colorado US
+1.303.414.4980
[EMAIL PROTECTED]
www.TelecomMatters.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to