roots
roots

Reputation: 11

Exception handling using enterprise library

We are using Enterprise Library to connect to data base (SQLServer 2008)

Below is my code in repository to handle exceptions, related to our database:

try{
   ----;
   -----;       
}

catch(system.data.SqlClient.SqlException ex)
{

}

Is there any "Enterprise library" exception class to catch the raise exceptions?

Thanks in advance :)

Upvotes: 1

Views: 540

Answers (2)

Grigori Melnik
Grigori Melnik

Reputation: 4107

I recommend these learning resources for the Exception Handling Application Block (EHAB):

Upvotes: 0

Pranay Rana
Pranay Rana

Reputation: 176896

you want this : Exception Handling Application Block

Upvotes: 1

Related Questions