Class ValidationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValidationException
    extends KernelException
    An exception to be thrown when the string representation of GT ingredients cannot be validated.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Thomas Huining Feng
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (tfeng)
    Pt.ProposedRating:
    Yellow (tfeng)
    • Constructor Detail

      • ValidationException

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

        public ValidationException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Construct an exception with a detail message. If the cause argument is non-null, then the message of this exception will include the message of the cause argument. The stack trace of the cause argument is used when we print the stack trace of this exception.
        Parameters:
        message - The message.
        cause - The cause of this exception.