Re: What exception catching methods should be used with Pro*C?
From: hpuxrac <johnbhurley_at_sbcglobal.net>
Date: Sun, 22 Nov 2009 12:55:19 -0800 (PST)
Message-ID: <e56de0b3-b11d-4200-a2c2-d785e877a68f_at_z41g2000yqz.googlegroups.com>
On Nov 22, 10:47 am, Ramon F Herrera <ra..._at_conexus.net> wrote:
Date: Sun, 22 Nov 2009 12:55:19 -0800 (PST)
Message-ID: <e56de0b3-b11d-4200-a2c2-d785e877a68f_at_z41g2000yqz.googlegroups.com>
On Nov 22, 10:47 am, Ramon F Herrera <ra..._at_conexus.net> wrote:
snip
> I have doubts about the error handling methods to be applied. I am
> trying to figure out how to catch any error while the Pro*C code is
> being executed and to pass them upstream to the C++ layer. I must add
> that the application is a never-ending server and therefore it must
> not crash or even "exit()" upon failure.
Umm ... what will your app do if the database it is connected to shuts down? Received on Sun Nov 22 2009 - 14:55:19 CST