G
Guest
I would like to know if this is OK or if it is better to just let the
exception go instead of re-throwing it:
I have:
try
{
}
catch(OracleException ex)
{
// Do something
}
catch(Exception)
{
throw;
}
Should I only have:
try
{
}
catch(OracleException ex)
{
// Do something
}
And let the calling code handle any other type of exception.
Thank you for your input.
JFercan
exception go instead of re-throwing it:
I have:
try
{
}
catch(OracleException ex)
{
// Do something
}
catch(Exception)
{
throw;
}
Should I only have:
try
{
}
catch(OracleException ex)
{
// Do something
}
And let the calling code handle any other type of exception.
Thank you for your input.
JFercan