• MasterBlaster@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Thanks for looking that up, because the application exception is the way I originally learned this myself. And I’ve been doing .net for 20 years.

    • JustANoone@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Do you guys still use it in practice though? I have never seen or heard about this until now.

      • MasterBlaster@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I don’t create many exceptions in c#. The way I handle errors doesn’t require it for (damn near) everything. Java makes throwing named errors more important, and consequently I wrote more for Java.