Package 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 aSignalException
.- Since:
- 2.16
- Author:
- Nicklas
- Last modified
- $Date: 2010-09-10 13:09:05 +0200 (fr, 10 sep 2010) $
-
-
Constructor Summary
Constructors Constructor Description ExceptionInterruptHandler(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleInterrupt()
This method is called when the worker thread has been interrupted by some other thread.
-
-
-
Field Detail
-
message
private final String message
-
-
Constructor Detail
-
ExceptionInterruptHandler
public ExceptionInterruptHandler(String message)
-
-
Method Detail
-
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 interfaceInterruptHandler
-
-