creating my own exception class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony Johansson

    creating my own exception class

    Hello!

    If I want to create my own Exception class which class is the recommended
    class to derive from.
    Should it be from Exception or from System.Applicat ionException.

    //Tony




  • Jeroen Mostert

    #2
    Re: creating my own exception class

    Tony Johansson wrote:
    If I want to create my own Exception class which class is the recommended
    class to derive from.
    Should it be from Exception or from System.Applicat ionException.
    >
    Exception. ApplicationExce ption should no longer be used as it adds nothing.

    See also http://msdn.microsoft.com/library/ms229007

    --
    J.

    Comment

    Working...