java.lang.isolate
Class ClosedLinkException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.lang.isolate.ClosedLinkException
All Implemented Interfaces:
Serializable

public class ClosedLinkException
extends IOException

An exception thrown when an operation is performed on a closed link.

A link can become closed due to an explicit invocation of Link.close, interrupting a thread blocked in send or receive, or if any isolate involved in the link dies.

In addition to send and receive, the Link.newLink and Link.newEventLink link factories can throw ClosedLinkException.

Since:
1.5
See Also:
Link, Serialized Form

Constructor Summary
ClosedLinkException()
          Constructs a ClosedLinkException with no specified detail message.
ClosedLinkException(String detail)
          Constructs a ClosedLinkException with specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClosedLinkException

public ClosedLinkException()
Constructs a ClosedLinkException with no specified detail message.


ClosedLinkException

public ClosedLinkException(String detail)
Constructs a ClosedLinkException with specified detail message.