[2007] in java-interest

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

Re: throws declataration in Java/beta

daemon@ATHENA.MIT.EDU (Jonathan Payne)
Thu Sep 21 16:32:30 1995

Date: Thu, 21 Sep 1995 10:42:58 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: dufourd@enst.enst.fr
Cc: pambrose@weblogic.com, java-interest@java.sun.com
In-Reply-To: <9509211647.AA06638@elao.enst.fr> (dufourd@enst.enst.fr)

OH .... MY GOD.

> >This means that you can NEVER throw an exception from a 
> >toString() method because Object.toString() doesn't throw
> >any exceptions.
> 
> This is my experience too, and this language/compiler design decision
> seems pretty lame to me. Another thing you cannot do is ask for the
> current thread to sleep when you are in the run method because the
> interface Runnable does not specify "throws InterruptedException"...
> I am sure there are lots of other such examples.
> JC
-
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