Class 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 (fr, 10 sep 2010) $
    • 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 interface InterruptHandler