Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.

2006-01-06 Thread Johannes Nel
yeah. i want to impliment exception handeling like in java, but async
functions are the bugger since i want it to bubble upwards. i have however
thought of a sollution to this and am currently working on that :)

On 1/5/06, JesterXL [EMAIL PROTECTED] wrote:

 You sound just like the Java guys who try Flex and wonder why it doesn't
 block.

 Sorry bro, async is like Bryan said, oil and water.

 - Original Message -
 From: Johannes Nel [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, January 05, 2006 7:03 PM
 Subject: Re: [Flashcoders] what happens to exceptions i throw
 inasyncfunctions.


 same problem. all async functions are part of a different stack so all my
 exception handeling code go out of the window.

 On 1/5/06, JesterXL [EMAIL PROTECTED] wrote:
 
  Late to the thread.  Could you perhaps check if the onData actually
  contains
  any data, and if so, throw an exception if she does not there?  That
  happens
  before onLoad.
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 j:pn
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.

2006-01-06 Thread bryan.rice


On Jan 6, 2006, at 10:41 AM, Johannes Nel wrote:


i have however
thought of a sollution to this and am currently working on that :)



I would love to see what you thought of!

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.

2006-01-05 Thread JesterXL
You sound just like the Java guys who try Flex and wonder why it doesn't 
block.

Sorry bro, async is like Bryan said, oil and water.

- Original Message - 
From: Johannes Nel [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 7:03 PM
Subject: Re: [Flashcoders] what happens to exceptions i throw 
inasyncfunctions.


same problem. all async functions are part of a different stack so all my
exception handeling code go out of the window.

On 1/5/06, JesterXL [EMAIL PROTECTED] wrote:

 Late to the thread.  Could you perhaps check if the onData actually
 contains
 any data, and if so, throw an exception if she does not there?  That
 happens
 before onLoad.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders