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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.objectweb.dream.control.activity.task.NoSuchTaskException
All Implemented Interfaces:
Serializable

public class NoSuchTaskException
extends Exception

Exception thrown by task controller when a given task component is unknown.

See Also:
Serialized Form

Constructor Summary
NoSuchTaskException(Task task)
           
NoSuchTaskException(Task task, String message)
           
 
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

NoSuchTaskException

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

NoSuchTaskException

public NoSuchTaskException(Task task,
                           String message)
Parameters:
task - a task.
message - a message.
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.