Wish Creating custom exception objects

Discussion in 'Bugs & wishlist' started by LucaMs, Sep 15, 2015.

  1. LucaMs

    LucaMs Expert Licensed User

    At least for messages:

    Dim ex As Exception
    ex.Inizialize
    ex.Message = "...."


    Thank you.


    [thinking writing... I could create a class in which one write-only property could be the "native exception object" and...! An overxxx, where xxx means: mah, I don't know, now :D.
    Well, if you can... Thank you]
     
    Ed Brown likes this.
  2. Ed Brown

    Ed Brown Active Member Licensed User

    Hello @LucaMs

    Just curious how this might differ from the try/catch/LastException?
     
  3. LucaMs

    LucaMs Expert Licensed User

  4. Ed Brown

    Ed Brown Active Member Licensed User

    Gotcha. Nice!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice