In jslibs, to avoid classes to be constructed, we throw an error in the
constructor.
A better way to achieve this is to mimic the StopIteration class:
- don't define the constructor function.
- use DEFINE_HAS_INSTANCE to allow catch (ex if ex instanceof StopIteration)
Original issue reported on code.google.com by sou...@gmail.com on 1 Aug 2008 at 9:01
Original issue reported on code.google.com by
sou...@gmail.com
on 1 Aug 2008 at 9:01