flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [02/50] git commit: [flex-sdk] [refs/heads/new_android_skins] - FLEX-34385 documenting unusual try-catch behaviour after event dispatch.
Date Sun, 17 Aug 2014 07:47:49 GMT
FLEX-34385 documenting unusual try-catch behaviour after event dispatch.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/16d30c9c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/16d30c9c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/16d30c9c

Branch: refs/heads/new_android_skins
Commit: 16d30c9c00c4689aa60a73968550d5af2b7b0373
Parents: 3167e42
Author: Mihai C <mihaic@apache.org>
Authored: Wed Jul 2 17:46:34 2014 +0100
Committer: Mihai C <mihaic@apache.org>
Committed: Wed Jul 2 17:46:34 2014 +0100

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/core/UIComponent.as | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/16d30c9c/frameworks/projects/framework/src/mx/core/UIComponent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/core/UIComponent.as b/frameworks/projects/framework/src/mx/core/UIComponent.as
index 06ae586..7432f52 100644
--- a/frameworks/projects/framework/src/mx/core/UIComponent.as
+++ b/frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -13659,6 +13659,12 @@ public class UIComponent extends FlexSprite
      *  Dispatches an event into the event flow.
      *  The event target is the EventDispatcher object upon which
      *  the <code>dispatchEvent()</code> method is called.
+	 * 
+	 *  Note that when <code>dispatchEvent()</code> is called by code inside a
+	 *  <code>try</code> block, any error thrown thereafter can be caught by
+	 *  listening to LoaderInfo.uncaughtErrorEvents. It will NOT reach the
+	 *  <code>catch</code> block.
+	 *   
      *
      *  @param event The Event object that is dispatched into the event flow.
      *  If the event is being redispatched, a clone of the event is created automatically.


Mime
View raw message