public class SignalReceivedException extends SignalException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private List<Signal> |
signals |
Constructor and Description |
---|
SignalReceivedException(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 |
---|---|
List<Signal> |
getSignals()
Get the signals that has been received.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public SignalReceivedException(Signal signal)
signal
- The signal that is not supportedpublic SignalReceivedException(Signal... signals)
signals
- The signals in the order they were received