Class SignalReceivedException

All Implemented Interfaces:
Serializable

public class SignalReceivedException
extends SignalException
This exception can be thrown by signal handlers when one or more signal has been received.
Version:
2.6
Author:
nicklas
See Also:
Serialized Form
Last modified
$Date: 2008-09-11 22:09:17 +0200 (to, 11 sep 2008) $
  • Field Details

  • Constructor Details

    • SignalReceivedException

      public SignalReceivedException​(Signal signal)
      Create a new UnsupportedSignalException.
      Parameters:
      signal - The signal that is not supported
    • SignalReceivedException

      public SignalReceivedException​(Signal... signals)
      Create a new SignalReceivedException when multiple signals has been received.
      Parameters:
      signals - The signals in the order they were received
    • SignalReceivedException

      public SignalReceivedException​(List<Signal> signals)
      Create a new SignalReceivedException when multiple signals has been received.
      Parameters:
      signals - The signals in the order they were received
  • Method Details

    • getSignals

      public List<Signal> getSignals()
      Get the signals that has been received.
      Returns:
      A list with the signals in the order they were received