P
Peter Morris [Droopy eyes software]
Hi all
For runtime errors I throw exceptions, and for coding errors I use
System.Diagnostics.Debug.Assert. When an assertion fails my app shows an
error message but then allows the user to continue whereas I would like the
app to terminate.
Should I use an exception instead (if so, which type?), if not then how do I
get Assert to terminate the app?
Thanks
Pete
For runtime errors I throw exceptions, and for coding errors I use
System.Diagnostics.Debug.Assert. When an assertion fails my app shows an
error message but then allows the user to continue whereas I would like the
app to terminate.
Should I use an exception instead (if so, which type?), if not then how do I
get Assert to terminate the app?
Thanks
Pete