Package ptolemy.gui
Class CancelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ptolemy.gui.CancelException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class CancelException extends java.lang.Exception
Deprecated.Use ptolemy.util.CancelException.An exception that is not reported to the user. This exception can be used to cancel an ongoing operation. It works together with MessageHandler, where it might be thrown when the user clicks "cancel" in a dialog box. Throwing an exception allows the execution environment to unwind the stack, cancelling operations that may only lead to an endless stream of warnings or errors. This class is really just a marker, and is intended to not be reported to the user.- Since:
- Ptolemy II 1.0
- Version:
- $Id$
- Author:
- Edward A. Lee
- See Also:
MessageHandler
, Serialized Form- Pt.AcceptedRating:
- Green (janneck)
- Pt.ProposedRating:
- Green (eal)
-
-
Constructor Summary
Constructors Constructor Description CancelException()
Deprecated.Construct an exception with a default message.CancelException(java.lang.String message)
Deprecated.Construct an exception with the specified message.
-