Package net.sf.basedb.core.signal
Class SignalReceivedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.signal.SignalException
net.sf.basedb.core.signal.SignalReceivedException
- All Implemented Interfaces:
Serializable
This exception can be thrown by signal handlers when one or more
signal has been received.
- Version:
- 2.6
- Author:
- nicklas
- See Also:
- Last modified
- $Date: 2008-09-11 22:09:17 +0200 (to, 11 sep 2008) $
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
-
Constructor Summary
ConstructorDescriptionSignalReceivedException
(List<Signal> signals) Create a new SignalReceivedException when multiple signals has been received.SignalReceivedException
(Signal signal) Create a new UnsupportedSignalException.SignalReceivedException
(Signal... signals) Create a new SignalReceivedException when multiple signals has been received. -
Method Summary
Modifier and TypeMethodDescriptionGet the signals that has been received.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
signals
-
-
Constructor Details
-
SignalReceivedException
Create a new UnsupportedSignalException.- Parameters:
signal
- The signal that is not supported
-
SignalReceivedException
Create a new SignalReceivedException when multiple signals has been received.- Parameters:
signals
- The signals in the order they were received
-
SignalReceivedException
Create a new SignalReceivedException when multiple signals has been received.- Parameters:
signals
- The signals in the order they were received
-
-
Method Details
-
getSignals
Get the signals that has been received.- Returns:
- A list with the signals in the order they were received
-