You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2014/07/14 15:36:04 UTC

[jira] [Commented] (FLEX-34385) Document try-catch limitation

    [ https://issues.apache.org/jira/browse/FLEX-34385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060636#comment-14060636 ] 

Mihai Chira commented on FLEX-34385:
------------------------------------

Documented in commit #dc680bbfb3e8e3fe7fb54c36456625ee8bb47027.

> Document try-catch limitation
> -----------------------------
>
>                 Key: FLEX-34385
>                 URL: https://issues.apache.org/jira/browse/FLEX-34385
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Events
>    Affects Versions: Apache Flex 4.12.1
>            Reporter: Mihai Chira
>            Assignee: Mihai Chira
>              Labels: documentation
>
> 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 LoaderInfo.uncaughtErrorEvents [1] and the description of the UncaughtErrorEvents class [2] to include this.
> [1] http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/LoaderInfo.html#uncaughtErrorEvents
> [2] http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/UncaughtErrorEvents.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)