[AccessD] OT C# Try Catch question

David McAfee davidmcafee at gmail.com
Tue Mar 5 12:42:08 CST 2013


Sorry for the OT question, just wondering if someone here knows the answer.

            try
            {
               //Some stuff here;
            }
            catch (Exception ex)
            {
                return false;
            }

The variable 'ex' is declared but never used

You can get rid of the error by doing something like writing ex to the
console, but is there a better/standard way of avoiding the warning?


Thanks,
David


More information about the AccessD mailing list