a throws statement would be nice and then async errors, man i dispatch them error objects instead of using a throw which is not nice.
On 8/28/06, Ralf Bokelberg <[EMAIL PROTECTED]
> wrote:
I wrote a little exception handling example. You can download it from:
www.bokelberg.de/download/ExceptionHandlingExample.zip
While writing the example i found another interesting thing about
exceptions: If you read the code, they communicate very clearly, that
something exceptional is happening.
Cheers,
Ralf.
On 8/28/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> with ralf on this one, unit tests should be written around exceptions as
> well.
>
>
> On 8/28/06, Ralf Bokelberg < [EMAIL PROTECTED]> wrote:
> > By testing.
> > Cheers,
> > Ralf.
> >
> > On 8/28/06, erixtekila < [EMAIL PROTECTED]> wrote:
> > > > I always trace them. This way i can see them in the flashlog.txt
> > > > Also in an callback i always catch everything and pass the exception
> > > > back to the error handler.
> > > Yes, but how can you be sure not to forget one catch ?
> > > Just by commenting ?
> > >
> > > -----------
> > > erixtekila
> > > http://blog.v-i-a.net/
> > >
> > >
> > > _______________________________________________
> > > osflash mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > >
> >
> >
> > --
> > Ralf Bokelberg <[EMAIL PROTECTED]>
> > Flex & Flash Consultant based in Cologne/Germany
> >
> > _______________________________________________
> > osflash mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
>
>
>
> --
> j:pn
> http://www.lennel.org
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
j:pn
http://www.lennel.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
