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,
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private Signal signal
public UnsupportedSignalException(Signal signal)
signal
- The signal that is not supportedpublic Signal getSignal()