simon6

comprehensive/descriptive catch statements needed

Discussion created by simon6 on Nov 1, 2010
Latest reply on Nov 2, 2010 by agray1
I would like to provide a more comprehensive and descriptive catch statement besides this:

                        catch (NullReferenceException e)
                        {
                            System.Diagnostics.Debug.WriteLine(e.Message);
                        }
                        catch (Exception e)
                        {
                            System.Diagnostics.Debug.WriteLine(e.Message);
                        }


Also, would it make sense to provide a messagebox.show or a system.diag.debug.writeline? What's the consensus here?
Thanks!

Outcomes