Leo Sutic wrote:

From: news [mailto:[EMAIL PROTECTED] On Behalf Of Berin Loritsch

Really? I did the exact same thing and got an error during compilation. It must be a stricter IDE specific compiler. I'm not sure that we can count on that continuing to be the case forever though.

No, but they have to change the Java language spec for it to happen:

http://java.sun.com/docs/books/jls/second_edition/html/exceptions.doc.ht
ml

"The runtime exception classes (RuntimeException and its subclasses) are exempted from compile-time checking"

Ok. You learn something new every day. So then the compiler that forced me to check those exceptions was overzealous or in violation of the Java spec.



Reply via email to