org.objectweb.dream.control.activity.task
Class IllegalTaskException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.objectweb.dream.control.activity.task.IllegalTaskException
All Implemented Interfaces:
Serializable

public class IllegalTaskException
extends Exception

Exception thrown by task controller when an operation on a task can't be done.

See Also:
Serialized Form

Constructor Summary
IllegalTaskException(Task task)
           
IllegalTaskException(Task task, String message, Throwable cause)
           
 
Method Summary
 Task getTask()
           
 void printStackTrace(PrintStream s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalTaskException

public IllegalTaskException(Task task)
Parameters:
task - a task.

IllegalTaskException

public IllegalTaskException(Task task,
                            String message,
                            Throwable cause)
Parameters:
task - a task.
message - a message.
cause - a cause.
Method Detail

getTask

public Task getTask()
Returns:
the task.

toString

public String toString()
See Also:
Throwable.toString()

printStackTrace

public void printStackTrace(PrintStream s)
See Also:
Throwable.printStackTrace(java.io.PrintStream)


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.