Package org.fest.swing.monitor
Class ProtectingTimerTask
java.lang.Object
java.util.TimerTask
org.fest.swing.monitor.ProtectingTimerTask
- All Implemented Interfaces:
Runnable
Prevents misbehaving
TimerTask
s from canceling the timer thread by throwing exceptions and/or
errors.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
handleException
(Throwable thrown) private boolean
void
run()
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