ptolemy.actor.sched
Class NotSchedulableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byptolemy.kernel.util.KernelRuntimeException
                  extended byptolemy.kernel.util.InvalidStateException
                      extended byptolemy.actor.sched.NotSchedulableException
All Implemented Interfaces:
java.io.Serializable

public class NotSchedulableException
extends InvalidStateException

This is a special case of the InvalidStateException such that a CompositeActor is not schedulable by a certain scheduler.

Since:
Ptolemy II 0.2
Version:
$Id: NotSchedulableException.java,v 1.30 2004/04/13 05:12:46 cxh Exp $
Author:
Jie Liu, Christopher Hylands
See Also:
InvalidStateException, Serialized Form
Accepted Rating:
Red (cxh) This class was
Proposed Rating:
Red (liuj)

Constructor Summary
NotSchedulableException(java.util.Collection actors, java.lang.Throwable cause, java.lang.String detail)
          Constructs an Exception with a detail message that includes the names of a Collection of nameables plus the an argument string.
NotSchedulableException(java.util.Enumeration actors, java.lang.String detail)
          Deprecated. Use NotSchedulableException(Collection, Throwable, String) instead.
NotSchedulableException(Nameable nameable1, Nameable nameable2, java.lang.String detail)
          Constructs an Exception with a detail message that includes the names of the first two arguments plus the third argument string.
NotSchedulableException(Nameable nameable, java.lang.String detail)
          Constructs an Exception with a detail message that includes the name of the first argument and the second argument string.
NotSchedulableException(java.lang.String detail)
          Constructs an Exception with only a detail message.
 
Methods inherited from class ptolemy.kernel.util.KernelRuntimeException
_setCause, _setMessage, getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotSchedulableException

public NotSchedulableException(java.lang.String detail)
Constructs an Exception with only a detail message.

Parameters:
detail - The message.

NotSchedulableException

public NotSchedulableException(Nameable nameable,
                               java.lang.String detail)
Constructs an Exception with a detail message that includes the name of the first argument and the second argument string.

Parameters:
nameable - The object.
detail - The message.

NotSchedulableException

public NotSchedulableException(Nameable nameable1,
                               Nameable nameable2,
                               java.lang.String detail)
Constructs an Exception with a detail message that includes the names of the first two arguments plus the third argument string.

Parameters:
nameable1 - The first object.
nameable2 - The second object.
detail - The message.

NotSchedulableException

public NotSchedulableException(java.util.Enumeration actors,
                               java.lang.String detail)
Deprecated. Use NotSchedulableException(Collection, Throwable, String) instead.

Constructs an Exception with a detail message that includes the names of an enumeration of nameables plus the an argument string.

Parameters:
detail - The message.
actors - The unschedulable actors.

NotSchedulableException

public NotSchedulableException(java.util.Collection actors,
                               java.lang.Throwable cause,
                               java.lang.String detail)
Constructs an Exception with a detail message that includes the names of a Collection of nameables plus the an argument string.

Parameters:
detail - The message.
actors - The unschedulable actors.