Exception handling and stack traces

Monkey Forums/Monkey Programming/Exception handling and stack traces

Samah(Posted 2011) [#1]
From what I can see, it looks all the target languages support exception handling (try/catch/finally) in some form or another. Is it possible to get this added to Monkey?

Being able to mark exception types as checked or unchecked would be good too. Checked meaning that the developer must declare it as being thrown, and must eventually catch it somewhere. Unchecked exceptions do not require a "throws" declaration and would just result in an Error() if not caught. For example, in Java an exception is checked unless it extends the RuntimeException or Error classes.

I also mentioned in a previous thread that it'd be nice for Monkey to expose its stack trace by default. This should be fairly trivial, but it'd be great to have the stack trace available as a string array too.