|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.util.RunnableExceptionCatcher
public class RunnableExceptionCatcher
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.
Green (rodiers) |
Green (rodiers) |
Field Summary | |
---|---|
private java.lang.Runnable |
_runnable
|
Constructor Summary | |
---|---|
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 | |
---|---|
void |
run()
Execute the runnable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.Runnable _runnable
Constructor Detail |
---|
public RunnableExceptionCatcher(java.lang.Runnable runnable)
runnable
- The runnable.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |