net.sf.basedb.core.signal
Class ExceptionInterruptHandler
java.lang.Object
net.sf.basedb.core.signal.ExceptionInterruptHandler
- All Implemented Interfaces:
- InterruptHandler
public class ExceptionInterruptHandler
- extends Object
- implements InterruptHandler
Interrupt handler implementation that always throw a
SignalException
.
- Since:
- 2.16
- Author:
- Nicklas
- Last modified
- $Date: 2010-09-10 13:09:05 +0200 (Fri, 10 Sep 2010) $
Method Summary |
void |
handleInterrupt()
This method is called when the worker thread has been interrupted by
some other thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
private final String message
ExceptionInterruptHandler
public ExceptionInterruptHandler(String message)
handleInterrupt
public void handleInterrupt()
- Description copied from interface:
InterruptHandler
- This method is called when the worker thread has been interrupted by
some other thread.
- Specified by:
handleInterrupt
in interface InterruptHandler