Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 057E110A7F for ; Wed, 13 Nov 2013 14:16:14 +0000 (UTC) Received: (qmail 18842 invoked by uid 500); 13 Nov 2013 14:16:13 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 18661 invoked by uid 500); 13 Nov 2013 14:16:08 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 18652 invoked by uid 99); 13 Nov 2013 14:16:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 14:16:07 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aharui@adobe.com designates 64.18.1.187 as permitted sender) Received: from [64.18.1.187] (HELO exprod6og104.obsmtp.com) (64.18.1.187) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 14:16:00 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob104.postini.com ([64.18.5.12]) with SMTP ID DSNKUoOJiwHnM+dlXcxVK0zo7RA3eMrOvFaH@postini.com; Wed, 13 Nov 2013 06:15:40 PST Received: from inner-relay-2.corp.adobe.com ([153.32.1.52]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id rADEBst2018595 for ; Wed, 13 Nov 2013 06:11:54 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id rADEFcOU010321 for ; Wed, 13 Nov 2013 06:15:38 -0800 (PST) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nacas02.corp.adobe.com ([10.8.189.100]) with mapi; Wed, 13 Nov 2013 06:15:38 -0800 From: Alex Harui To: "dev@flex.apache.org" Date: Wed, 13 Nov 2013 06:15:35 -0800 Subject: Re: [FLEXJS] WatcherBase error checking Thread-Topic: [FLEXJS] WatcherBase error checking Thread-Index: Ac7getNF2L/idLdsToyDX9WASKyUqg== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.6.130613 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 11/13/13 1:22 AM, "Erik de Bruin" wrote: >Hi, > >In the JS version of the WatcherBase class wrapUpdate method there is >a significant amount of error handling that seems to be a literal >translation of the AS side. On the JS side, since the error argument >in the catch statement isn't typed at all, I don't see where the >'errorID' property (line 185) is coming from. > >Work in progress? Probably. I don't think we've gone down that code path. I guess we'd have to somehow have a table of allowed error.message? > >EdB > > > >--=20 >Ix Multimedia Software > >Jan Luykenstraat 27 >3521 VB Utrecht > >T. 06-51952295 >I. www.ixsoftware.nl