Page 1 of 1

Exception Handling

Posted: Sat 02 May 2009 11:32
:?: How does UniDac support exception handling. As an example, if I am updating a database and I get a 'record locked' error, does UNIDAC capture the native database engine error and subsequently raise it's own set of exceptions OR do I need to handle exceptions for each database engine independantly of UniDac. :?:

Posted: Tue 05 May 2009 07:05
by Plash
UniDAC catches the native provider exception, and raises the EUniError exception. You should handle only this exception in your code.

Posted: Tue 05 May 2009 16:22
:D Thank you. This is exactly what I had hoped for.

Robert