[2019] in java-interest
Re: throws declataration in Java/beta
daemon@ATHENA.MIT.EDU (Michael Lorton)
Thu Sep 21 23:17:38 1995
Date: Thu, 21 Sep 1995 16:22:12 -0700
From: Michael Lorton <mlorton@eshop.com>
To: dufourd@enst.enst.fr
Cc: pambrose@weblogic.com, dufourd@enst.enst.fr, java-interest@java.sun.com
In-Reply-To: <9509211647.AA06638@elao.enst.fr> (dufourd@enst.enst.fr)
> 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
You can, but you must personally catch the InterruptedException (that
way it cannot be return).
I think...
M.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com