Checked Exceptions do not exist on the JVM.

Mark Mahieu markmahieu at googlemail.com
Wed May 20 14:33:13 PDT 2009


On 20 May 2009, at 21:10, Mark Thornton wrote:
> Or perhaps something aweful ought to happen to someone who uses or
> subclasses Throwable directly! ;-)
>
> Mark

I think Google Code Search must have a sense of humour - the first  
result returned when I search for "throw\ new\ Throwable" is  
currently this, from javac's test suite (test/tools/javac/ 
DefiniteAssignment.java):

     public void throwCheckedException () throws Throwable {
         throw new Throwable();
     }


Mark


More information about the coin-dev mailing list