Skip to main content

SpellCheckerBase.UnhandledException Event

Occurs when an unhandled system exception fires.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v14.2.Core.dll

#Declaration

public event SpellCheckerUnhandledExceptionEventHandler UnhandledException

#Event Data

The UnhandledException event's handler receives an argument of the SpellCheckerUnhandledExceptionEventArgs type. The following properties provide information specific to this event:

Property Description
Exception Gets the exception which triggers the SpellCheckerBase.UnhandledException event.
Handled Gets or sets whether the exception should be propagated upwards.

#Remarks

If an application tries to load several dictionaries of highly inflective languages (like Russian, Czech or Serbian), the system resources may be exhausted, resulting in a stalled application, and finally, in an unhandled exception. To handle this situation, subscribe to the UnhandledException event.

You can remove the problematic dictionary from the dictionary list and continue loading dictionaries.

See Also