Application.UnhandledException Event

Receives otherwise missed exceptions--exceptions that could have been caught in an Exception Block using one of the Runtime exception handlers. If the appropriate Exception Block is missing, the runtime exception error triggers this event and allows you to handle exceptions here.

Syntax

UnhandledException ( error )

Parameters

error

RuntimeException


See the example.

Returns a Boolean. If it returns True, the standard alert indicating an unhandled exception and quit behavior are suppressed. Return False to allow REALbasic's default unhandled exception error processing to occur. See the RuntimeException class.