Exception: JFlow::Exceptions::Common
- Inherits:
-
StandardError
- Object
- StandardError
- JFlow::Exceptions::Common
- Defined in:
- lib/jflow_exceptions/jflow/exceptions/common.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(exception) ⇒ Common
constructor
A new instance of Common.
Constructor Details
#initialize(exception) ⇒ Common
Returns a new instance of Common.
7 8 9 10 11 12 |
# File 'lib/jflow_exceptions/jflow/exceptions/common.rb', line 7 def initialize(exception) super(exception.) = exception. @original = exception.class.name set_backtrace(exception.backtrace) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/jflow_exceptions/jflow/exceptions/common.rb', line 5 def end |
#original ⇒ Object (readonly)
Returns the value of attribute original.
5 6 7 |
# File 'lib/jflow_exceptions/jflow/exceptions/common.rb', line 5 def original @original end |