Default Exception Handler

By default, the defaultHandler method of the Exception class is invoked when an exception is raised and there is no appropriate exception handler armed. This method displays a dialog showing details of the current exception, as shown in the following example.

The Abort button aborts the action, effectively terminating the code that was executing at the time of the exception.

The Ignore button ignores the exception and continues execution from the next expression after the expression that caused the exception. This may not always be desirable, as the failure of one instruction may lead to further exceptions or incorrect results. The Ignore button is disabled if the exception cannot be continued or if production mode is enabled for the JADE database. As most system exceptions are unable to be continued, the Ignore button is usually disabled for system exceptions.

See also "Handling Exceptions", earlier in this chapter.