Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34385

Document try..catch limitation

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            evolverine Mihai Chira
            evolverine Mihai Chira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: