Package ptolemy.actor

Class InvariantViolationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvariantViolationException
    extends IllegalActionException
    Thrown when an invariant is violated.
    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Haiyang Zheng
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (hyzheng)
    Pt.ProposedRating:
    Red (hyzheng)
    • Constructor Detail

      • InvariantViolationException

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

        public InvariantViolationException​(Nameable object,
                                           java.lang.String detail)
        Construct an exception with a detail message that includes the name of the first argument.
        Parameters:
        object - The object.
        detail - The message.