> Benoit, I was thinking about the same thing. > What is there was a method: _error (the brother to _new) > If present in a class, a class error falls into it as a default handler > Any error here most-liekly will implement Try/Catch by the programmer but > _error will not catch itself: an internal flag set the first time > _error runs, if it attempted to catch itself would notice > the flag set, return, and the immediately notice it returned > with an error, thus returning, exiting the class. > -Nando >
The error handler has to be global, it cannot be specific to a class. And what for? -- Benoît ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user