class
Raised when a signal is received.
begin Process.kill('HUP',Process.pid) rescue SignalException => e puts "received Exception #{e}" end
produces:
received Exception SIGHUP
Raised when a signal is received.
begin Process.kill('HUP',Process.pid) rescue SignalException => e puts "received Exception #{e}" end
produces:
received Exception SIGHUP