public class UnsupportedSignalException extends SignalException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private Signal |
signal |
Constructor and Description |
---|
UnsupportedSignalException(Signal signal)
Create a new UnsupportedSignalException.
|
UnsupportedSignalException(Signal signal,
java.lang.String msg)
Create a new UnsupportedSignalException with a custom message.
|
Modifier and Type | Method and Description |
---|---|
Signal |
getSignal()
Get the signal that is not supported.
|
private static final long serialVersionUID
private Signal signal
public UnsupportedSignalException(Signal signal)
signal
- The signal that is not supportedpublic UnsupportedSignalException(Signal signal, java.lang.String msg)
signal
- The signal that is not supportedmsg
- The message, if null a standard message will be generatedpublic Signal getSignal()