Class 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$
    Author:
    Jie Liu, Christopher Hylands
    See Also:
    InvalidStateException, Serialized Form
    Pt.AcceptedRating:
    Red (cxh) This class was
    Pt.ProposedRating:
    Red (liuj)
    • Constructor Summary

      Constructors 
      Constructor Description
      NotSchedulableException​(java.lang.String detail)
      Deprecated.
      Use a NotSchedulableException constructor that includes a Nameable so that the exception window includes a "Go To Actor" button.
      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, the causing Throwable and the detail argument.
      NotSchedulableException​(java.util.Enumeration actors, java.lang.String detail)
      Deprecated.
      Use NotSchedulableException(Collection, Throwable, String) instead.
      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​(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.
    • Constructor Detail

      • NotSchedulableException

        @Deprecated
        public NotSchedulableException​(java.lang.String detail)
        Deprecated.
        Use a NotSchedulableException constructor that includes a Nameable so that the exception window includes a "Go To Actor" button.
        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

        @Deprecated
        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 and the detail argument.
        Parameters:
        actors - The unschedulable actors.
        detail - The message.
      • 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, the causing Throwable and the detail argument.
        Parameters:
        actors - The unschedulable actors.
        cause - The cause.
        detail - The message.