Package ptolemy.actor.gt
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ptolemy.kernel.util.KernelException
-
- ptolemy.actor.gt.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 Summary
Constructors Constructor Description ValidationException(java.lang.String message)
Construct an exception with a detail message.ValidationException(java.lang.String message, java.lang.Throwable cause)
Construct an exception with a detail message.
-
Method Summary
-
Methods inherited from class ptolemy.kernel.util.KernelException
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, getNameable1, getNameable2, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
-
-
-
-
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.
-
-