2.17.2: 2011-06-17

net.sf.basedb.core.signal
Class SignalReceivedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.basedb.core.BaseException
                  extended by net.sf.basedb.core.signal.SignalException
                      extended by net.sf.basedb.core.signal.SignalReceivedException
All Implemented Interfaces:
Serializable

public class SignalReceivedException
extends SignalException

This exception can be thrown by signal handlers when one or more signal has been received.

Version:
2.6
Author:
nicklas
See Also:
Serialized Form
Last modified
$Date: 2008-09-11 22:09:17 +0200 (Thu, 11 Sep 2008) $

Field Summary
private static long serialVersionUID
           
private  List<Signal> signals
           
 
Constructor Summary
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.
 
Method Summary
 List<Signal> getSignals()
          Get the signals that has been received.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

signals

private List<Signal> signals
Constructor Detail

SignalReceivedException

public SignalReceivedException(Signal signal)
Create a new UnsupportedSignalException.

Parameters:
signal - The signal that is not supported

SignalReceivedException

public SignalReceivedException(Signal... signals)
Create a new SignalReceivedException when multiple signals has been received.

Parameters:
signals - The signals in the order they were received

SignalReceivedException

public SignalReceivedException(List<Signal> signals)
Create a new SignalReceivedException when multiple signals has been received.

Parameters:
signals - The signals in the order they were received
Method Detail

getSignals

public List<Signal> getSignals()
Get the signals that has been received.

Returns:
A list with the signals in the order they were received

2.17.2: 2011-06-17