> Fink, Andreas wrote:
> >
> > Is it possible to catch the "too much recursion" exception inside
the List
> > and give a better exception description if the problem relies to
> > duplicated models?
> >
> Interesting idea. But I'm not sure if this kind of exception can be
cough.
> Have you ever tried to catch a "too much recursion" exception?
Not yet but the following playground example is promising :)
var errorProducingFunction = function() {
while (true) {
errorProducingFunction();
}
};
try {
errorProducingFunction();
}
catch(ex) {
alert("catched " +ex);
throw "my new exception from too much recursion";
}
Regards,
Andreas
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel