When an exception is thrown, all functions in the call stack exit immediately until someone catches the exception. If nobody catches, you'll get an RTE dialog in the debugger player.
You have to decide where to catch it and how to deal with the fact that some code probably didn't run because of the exception. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, July 29, 2008 9:56 AM To: [email protected] Subject: [flexcoders] Re: Custom error handler But in where? Anywhere I expect the error to occur? --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Throw it and catch it. > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of markgoldin_2000 > Sent: Tuesday, July 29, 2008 7:05 AM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Custom error handler > > > > If I subclass Error class like this: > public class AppError extends Error > { > public function AppError(message:String, errorID:int) > { > super(message, errorID); > } > } > do I need to do anything else to get all errors into my custom error > handler? > > Thanks >

