Aspiring software developer and avid fighting gamer, play Melty Blood >:)

  • 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle





  • JustANoone@lemmy.worldOPtoProgrammer Humor@lemmy.mlI love university
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I should have elaborated, but basically what MD87 replied. During the development of .NET it was decided that every exception caused by programs should inherit from ApplicationException, and all system errors should inherit from SystemException. Unfortunately .NET devs didn’t follow this and now everything should just inherit Exception since it’s easier to check. Interestingly, both SystemException and ApplicationException seem functionally identical to Exception.