DevArt Network Exception Handle

DevArt Network Exception Handle

Postby 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#
ercaguysal
 
Posts: 1
Joined: Thu 05 Nov 2015 14:13

Re: DevArt Network Exception Handle

Postby 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.
Shalex
Devart Team
 
Posts: 7460
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle