flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Chira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34385) Document try..catch limitation
Date Thu, 21 Aug 2014 10:11:11 GMT

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

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

*UPDATE*: I've opened [a feature request with Adobe|https://bugbase.adobe.com/index.cfm?event=bug&id=3809613]
for this. If you think it would be useful, please vote for it.

> 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
the ["Statements, Keywords and Directives" help page|http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/statements.html#try..catch..finally],
[LoaderInfo.uncaughtErrorEvents|http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/LoaderInfo.html#uncaughtErrorEvents]
and the description of the [UncaughtErrorEvents class|http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/UncaughtErrorEvents.html]
to include this.
> See [the mailing list discussion thread|http://mail-archives.apache.org/mod_mbox/flex-users/201406.mbox/%3CCAP1cEXG7ydjCM8GFEbQ32JhF0kDhC_DEUTuOaF0ynfGo8TSyaw@mail.gmail.com%3E]
for more information.



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

Mime
View raw message