Re: [Firebird-net-provider] Recoverable exceptions, fatalities

2010-05-06 Thread Jiri Cincura
On Thu, May 6, 2010 at 09:37, Alexander Muylaert wrote: > Do you have any idea on how to solve this? Error codes? -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com -- ___

Re: [Firebird-net-provider] Recoverable exceptions, fatalities

2010-05-06 Thread Ivan Arabadzhiev
Hi, Alexander How about adding a "fatal event" to the connection object? Most probably passing the connection itself and an exception struct of some sort, allowing the handler to suppress rethrowing of the exepctions? I`ve seen this done by MS in gridviews and so on and it seems handy - if t

[Firebird-net-provider] Recoverable exceptions, fatalities

2010-05-06 Thread Alexander Muylaert
Hi Jiri I would like to make a seperation between recoverable exceptions and fatal exceptions coming from the database. A fatal error might be network lost, database gone, ... If this happens I would like to try to "reconnect" the client or even shutdown the application. A recoverable error,