[4259] in java-interest

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

Re: What happened to postException?

daemon@ATHENA.MIT.EDU (David Forster)
Thu Dec 14 15:15:42 1995

Date: Thu, 14 Dec 1995 11:33:49 -0500
To: kelvin@iastate.edu (Kelvin Nilsen)
From: mentor@io.org (David Forster)
Cc: java-interest@java.sun.com

At 20:28 13/12/95, Kelvin Nilsen wrote:
>This morning, I was looking at the documentation on Thread objects in:
>
>        http://java.sun.com/JDK-beta2/api/java.lang.Thread.html#_top_
>
>[he found postException method no longer documented].
>
>Was it an error for this to have been documented?  (Perhaps this was an
>artifact left over from the alpha release, which is no longer supported?)

It was in alpha, and may have been in prebeta, but I know it's no longer
available. Use "stop(Object)" instead - it's supposed to work just like
postException, I believe. I guess "interrupt()" would also fit in this
general scheme, if it were implemented.

>Is the ability to throw an exception from one thread to another supported
>anywhere else?  (Certainly, this defeats the idea that one can determine
>through declarations which exceptions might be thrown by particular
>methods.)

Well, you're not really throwing things in the same sense with this new scheme.


Cheers,
  David Forster                <br><a href="http://www.io.org/~mentor">
  Mentor Software Solutions    </a><br>
  +1 905 832 4837              <br>


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

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