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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.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)
           
IllegalTaskException(Task task, String message, Throwable cause)
           
 
Method Summary
 Task getTask()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, 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)
Parameters:
task - a task.
message - a message.

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()
Overrides:
toString in class Throwable
See Also:
Throwable.toString()


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