[810] in java-interest

home help back first fref pref prev next nref lref last post

Re: Catch-all Exception handlers

daemon@ATHENA.MIT.EDU (Peter Kessler)
Thu Jul 20 15:21:33 1995

Date: Thu, 20 Jul 1995 10:21:12 -0700
From: Peter.Kessler@Eng.Sun.COM (Peter Kessler)
To: java-interest@java.Eng.Sun.COM

    Let me second Mick Jordan's call for throw specifications as part of 
the signature of a method, and for compiler checking that no other 
exceptions are thrown from (or through) a method.  Unexpected exceptions 
are yet-another run-time bug that could be caught at compile-time to create 
more robust programs.
    Mick has real numbers from real program where compile-time analysis 
found exception specification violations that would otherwise have shown up 
(eventually) as run-time failures.

			... peter
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post