public class SignalReceivedException extends SignalException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.util.List<Signal> |
signals |
Constructor and Description |
---|
SignalReceivedException(java.util.List<Signal> signals)
Create a new SignalReceivedException when multiple signals has
been received.
|
SignalReceivedException(Signal... signals)
Create a new SignalReceivedException when multiple signals has
been received.
|
SignalReceivedException(Signal signal)
Create a new UnsupportedSignalException.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Signal> |
getSignals()
Get the signals that has been received.
|
private static final long serialVersionUID
private java.util.List<Signal> signals
public SignalReceivedException(Signal signal)
signal
- The signal that is not supportedpublic SignalReceivedException(Signal... signals)
signals
- The signals in the order they were receivedpublic SignalReceivedException(java.util.List<Signal> signals)
signals
- The signals in the order they were receivedpublic java.util.List<Signal> getSignals()