C
ChrisB
Hello:
I notice that the following statements generate a "the variable 'e' is
declared but never used" warning:
try
{
Company.Fetch(CompanyID);
}
catch(RecordNotFoundException e)
{
return null;
}
I have no reason to use the variable e within my catch block and find this
warning annoying (my code is generating many such warnings). Is there a
commonly used way to avoid a compilation warning in this situation?
Thanks,
Chris
I notice that the following statements generate a "the variable 'e' is
declared but never used" warning:
try
{
Company.Fetch(CompanyID);
}
catch(RecordNotFoundException e)
{
return null;
}
I have no reason to use the variable e within my catch block and find this
warning annoying (my code is generating many such warnings). Is there a
commonly used way to avoid a compilation warning in this situation?
Thanks,
Chris