Package ptolemy.graph

Class GraphInvalidStateException

  • All Implemented Interfaces:
    java.io.Serializable

    public class GraphInvalidStateException
    extends InvalidStateException
    Exception for graph invalid state action errors. This exception is thrown when an object has a state that is not permitted. This is a RuntimeException and thus need not be declared by a method.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Mingyung Ko
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (ssb)
    Pt.ProposedRating:
    Red (myko)
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphInvalidStateException​(java.lang.String message)
      Construct an exception with a detail message.
      GraphInvalidStateException​(java.lang.Throwable cause, java.lang.String detail)
      Construct an exception with a detail message that includes the name of the first argument, the cause and the third argument string.
    • Constructor Detail

      • GraphInvalidStateException

        public GraphInvalidStateException​(java.lang.String message)
        Construct an exception with a detail message. This exception is thrown when an object has a state that is not permitted.
        Parameters:
        message - Detailed description of the error.
      • GraphInvalidStateException

        public GraphInvalidStateException​(java.lang.Throwable cause,
                                          java.lang.String detail)
        Construct an exception with a detail message that includes the name of the first argument, the cause and the third argument string.
        Parameters:
        cause - The cause of this exception.
        detail - The message.