. . .
try
{
// do something
}
catch (SqlException e)
{
// do something with the exception
throw (e);
}
Or better would be to create your own exception, DALException, throw it with the original exception embedded within.
catch (SqlException e)
{
throw (new DALException(e)
}
-Mike