> For me, the main point of using exceptions is the possibility to pass
the control up the call chain.

I usually use events for those kinds of problems because they are usually better for visualisation.
I mean like:

  .onXmlParseError
  .onFileNotFound
  .onConnectionNotPossible

because those are on one hand better readable and on the other hand there is better support
for events than for exceptions. So it matches a little better in my workflow. I hide this way the
problems too from the unnecessary code parts because they just are not going to be called.

  .onXmlParseReady -> builtTree (only gets called if everything was fine

yours
Martin.
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to