lib/pigeon/task.rb
# This method is used to handle an exception and run through the proper
# failure handling mechanism. The handle_exception method is provided for
# subclasses to customize.
This method is used to handle an exception and run through the proper
failure handling mechanism. The handle_exception method is provided for
subclasses to customize.
This method is used to handle an exception and run through the proper failure handling mechanism . The handle_exception method is provided for subclasses to customize .
def exception_received(e)
    @exception = e
    handle_exception(e) rescue nil
    transition_to_state(:failed) unless (self.failed?)
    self.after_failed
    self.after_terminated
  end
def exception_received ( e ) @exception = e handle_exception ( e ) rescue nil transition_to_state ( :failed ) unless ( self . failed? ) self . after_failed self . after_terminated end
This method is used to handle an exception and run through the proper
failure handling mechanism.
This method is used to handle an exception and run through the proper failure handling mechanism .
e