Raised when a signal is received.
begin Process.kill('HUP',Process.pid) sleep # wait for receiver to handle signal sent by Process.kill rescue SignalException => e puts "received Exception #{e}" end
produces:
received Exception SIGHUP
SignalException.new(sig_name) â signal_exceptionSignalException.new(sig_number [, name]) â signal_exception
signal_exception.signo â num Instance Public methods Returns a signal number