Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache Flex 4.12.1
Description
A quirk of try..catch blocks in ActionScript is that the catch block won't catch Errors thrown by code executed from listeners of events thrown in the try block. We should document this, perhaps in UIComponent.dispatchEvent().
I think it would also be a good idea if we asked Adobe to updated the documentation under the "Statements, Keywords and Directives" help page, LoaderInfo.uncaughtErrorEvents and the description of the UncaughtErrorEvents class to include this.
See the mailing list discussion thread for more information.