edu.emory.mathcs.backport.java.util.concurrent
Class CancellationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalStateException
                  extended byedu.emory.mathcs.backport.java.util.concurrent.CancellationException
All Implemented Interfaces:
java.io.Serializable

public class CancellationException
extends java.lang.IllegalStateException

Exception indicating that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.

Since:
1.5
Author:
Doug Lea
See Also:
Serialized Form

Constructor Summary
CancellationException()
          Constructs a CancellationException with no detail message.
CancellationException(java.lang.String message)
          Constructs a CancellationException with the 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancellationException

public CancellationException()
Constructs a CancellationException with no detail message.


CancellationException

public CancellationException(java.lang.String message)
Constructs a CancellationException with the specified detail message.

Parameters:
message - the detail message