Package ptolemy.util
Class RunnableExceptionCatcher
- java.lang.Object
-
- ptolemy.util.RunnableExceptionCatcher
-
- All Implemented Interfaces:
java.lang.Runnable
public class RunnableExceptionCatcher extends java.lang.Object implements java.lang.Runnable
A class (that implements the proxy design pattern) that encapsulates a runnable, catches the exception and will report the exception to the Ptolemy Message Handler.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Bert Rodiers
- Pt.AcceptedRating:
- Green (rodiers)
- Pt.ProposedRating:
- Green (rodiers)
-
-
Constructor Summary
Constructors Constructor Description RunnableExceptionCatcher(java.lang.Runnable runnable)
Construct an instance that will wrap a runnable, catch its exceptions and report it to the Ptolemy Message Handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Execute the runnable.
-