Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
ssteiner #1
Member since Jan 2016 · 26 posts · Location: Switzerland
Group memberships: Members
Show profile · Link to this post
Subject: Exceptions or OnError
Looking at the samples I see no try/catches around critical methods such as Open().

Can I thus assume that calling those won't throw any exception, but that any problems would turn up in the OnError event handler instead?
Avatar
Alex #2
Member since Feb 2003 · 4295 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by ssteiner:
Can I thus assume that calling those won't throw any exception, but that any problems would turn up in the OnError event handler instead?

correct

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS