javax.util.concurrent
Class ExecutorNotAvailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.util.concurrent.ExecutionException
              extended by javax.util.concurrent.ExecutorNotAvailableException
All Implemented Interfaces:
Serializable

public class ExecutorNotAvailableException
extends ExecutionException

Exception indicating that the result of a value-producing task cannot be retrieved because the remote executor that the task is running on is no longer available.

Use the Throwable.getCause() method to determine why the executor is no longer available.

See Also:
Serialized Form

Constructor Summary
ExecutorNotAvailableException()
          Constructs an ExecutorNotAvailableException with null as its detail message.
ExecutorNotAvailableException(String message)
          Constructs an ExecutorNotAvailableException exception with the specified detail message.
ExecutorNotAvailableException(String message, Throwable cause)
          Constructs an ExecutorNotAvailableException exception with the specified detail message and cause.
ExecutorNotAvailableException(Throwable cause)
          Constructs an ExecutorNotAvailableException exception with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutorNotAvailableException

public ExecutorNotAvailableException()
Constructs an ExecutorNotAvailableException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


ExecutorNotAvailableException

public ExecutorNotAvailableException(String message)
Constructs an ExecutorNotAvailableException exception with the specified detail message.

The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

ExecutorNotAvailableException

public ExecutorNotAvailableException(String message,
                                     Throwable cause)
Constructs an ExecutorNotAvailableException exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ExecutorNotAvailableException

public ExecutorNotAvailableException(Throwable cause)
Constructs an ExecutorNotAvailableException exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.