Package org.fest.swing.monitor
Class ProtectingTimerTask
java.lang.Object
java.util.TimerTask
org.fest.swing.monitor.ProtectingTimerTask
- All Implemented Interfaces:
Runnable
Prevents misbehaving
TimerTasks from canceling the timer thread by throwing exceptions and/or
errors.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidhandleException(Throwable thrown) private booleanvoidrun()Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
CANCELED
private static final int CANCELED- See Also:
-
logger
-
task
-
-
Constructor Details
-
ProtectingTimerTask
ProtectingTimerTask(TimerTask task)
-
-
Method Details