Exception: ScbiMapreduce::WorkerError
- Inherits:
-
Exception
- Object
- Exception
- ScbiMapreduce::WorkerError
- Defined in:
- lib/scbi_mapreduce/error_handler.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#original_exception ⇒ Object
readonly
Returns the value of attribute original_exception.
-
#worker_id ⇒ Object
readonly
Returns the value of attribute worker_id.
Instance Method Summary collapse
-
#initialize(message, original_exception, worker_id, object) ⇒ WorkerError
constructor
A new instance of WorkerError.
Constructor Details
#initialize(message, original_exception, worker_id, object) ⇒ WorkerError
Returns a new instance of WorkerError.
7 8 9 10 11 12 |
# File 'lib/scbi_mapreduce/error_handler.rb', line 7 def initialize(, original_exception, worker_id, object) @message = @worker_id = worker_id @original_exception = original_exception @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
5 6 7 |
# File 'lib/scbi_mapreduce/error_handler.rb', line 5 def object @object end |
#original_exception ⇒ Object (readonly)
Returns the value of attribute original_exception.
5 6 7 |
# File 'lib/scbi_mapreduce/error_handler.rb', line 5 def original_exception @original_exception end |
#worker_id ⇒ Object (readonly)
Returns the value of attribute worker_id.
5 6 7 |
# File 'lib/scbi_mapreduce/error_handler.rb', line 5 def worker_id @worker_id end |