Force an UnhandledExceptionError?

Hi Folks,

I’ve made major modifications tio the manner in which two of my apps deal with Unhandled Exception Errors. Of course, I can never seem to duplicate the errors that a select few of our customers witness making it very hard to test and validate my code.

Do any of you have pointers to offer that will allow me to actually cause such an error in my code?


You can create and raise your own exceptions:

dim e as RuntimeException e.Message = "Nothing to see here." Raise e

Excellent - thanks, Anthony.

Happy to help, Tim!

One fix -

Dim e As New RuntimeException

The New is needed :slight_smile: