Application.addOnThreadException

Overview | Methods | This Package | All Packages

Application.addOnThreadException

Adds a threadException event handler to the application.

Syntax

public static void addOnThreadException( ThreadExceptionEventHandler value )

Parameters

value

The ThreadExceptionEventHandler object for the threadException event.

Remarks

A threadException event handler is triggered when an untrapped Java exception has been thrown. This event allows an application to handle the exception correctly, rather than abruptly closing the application. An event handler for the threadException event can be defined for each thread.

See Also   removeOnThreadException