On 7/25/07, Nick Sieger <[EMAIL PROTECTED]> wrote:
On 7/24/07, Ola Bini <[EMAIL PROTECTED]> wrote: > > Just noticed a thing, thanks to John Lam. Our JumpExceptions derive from > RuntimeException. That means that code that will catch(Exception) will > stop flow control, if it happens at the wrong place. To get around this, > > I believe we should consider going to have JumpExceptions based on > java.lang.Error instead. Seems reasonable. For that matter, why not just extend Throwable? They're not Errors either, really.
Nevermind (Wow, after all these years I didn't notice Throwable was checked!) Of course we want unchecked exceptions, so extending Error should be fine. /Nick
