Hey Torsten,

2009/3/26 Torsten Schulz <[email protected]>:
> Hello,
>
> If the mysql++-connection can't connect, witty destroyed the session with
> std::exception. No other error-message.
>
> Maybe it is possible to change anything here, so I'm able to show an
> error-message to the user?

What you probably want is reimplement WApplication::notify() to handle
unrecoverable errors (errors from which you can recover you will
probably want to handle at a more suitable point):

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#4a6f167bea94aefa8ba24f914c2fbee5

Regards,
koen

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to