I *think* that if that array is built up out of a URLRequest or something
and the URL to call is down, a finally would catch that and the error
wouldn't. But I'm not positive about that.

On Tue, Mar 3, 2009 at 10:02 PM, SJF <sjf...@gmail.com> wrote:

> I have a head-cold (hence the possibly obvious answer to this question) and
> a block of code as such:
>
> function checkResponder(e:Event = null):void
> {
>  try
>  {
>  bPollingDatabase = true;
>  updateListArray();
>  }
>  catch (err:Error)
>  {
>  //
>  }
> }
>
> Now considering there is no code in the 'catch' block, there can be
> absolutely no benefit whatsoever to using try-catch-finally in the above
> instance.
>
> Is this correct?
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
http://ericd.net
Interactive design and development
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to