Class NoSuchItemException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchItemException
    extends KernelException
    Thrown on access (by name) to an item that doesn't exist. E.g., attempt to remove a port by name and no such port exists.
    Since:
    Ptolemy II 0.2
    Version:
    $Id$
    Author:
    Edward A. Lee
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Green (cxh)
    Pt.ProposedRating:
    Green (cxh)
    • Constructor Detail

      • NoSuchItemException

        public NoSuchItemException​(java.lang.String detail)
        Construct an exception with a detail message.
        Parameters:
        detail - A message.
      • NoSuchItemException

        public NoSuchItemException​(Nameable object,
                                   java.lang.String detail)
        Construct an exception with a detail message that includes the name of the argument.
        Parameters:
        object - The object in which the item might have been.
        detail - A message.
      • NoSuchItemException

        public NoSuchItemException​(Nameable object,
                                   java.lang.Throwable cause,
                                   java.lang.String detail)
        Construct an exception with a cause and a detail message that includes the name of the argument.
        Parameters:
        object - The object in which the item might have been.
        cause - The cause of this exception, or null if the cause is not known or nonexistent.
        detail - The message.