DevArt Network Exception Handle

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
ercaguysal
Posts: 1
Joined: Thu 05 Nov 2015 14:13

DevArt Network Exception Handle

Post by ercaguysal » Thu 05 Nov 2015 14:18

Hi,
I'm using oracle database and write some code.
I wanna split network error and sql error.
How can i make this ?

Actually i wanna make some code like below
try
{
...
}
catch(OracleException ex)
{
handle some oracle errors
}
catch(NetworkErrors ex)
{
handle some network errors
}
And im using C#

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: DevArt Network Exception Handle

Post by Shalex » Thu 05 Nov 2015 19:29

Your code looks to be OK. Please specify the exact problems you have encountered with exception handling using your approach.

Post Reply