Exception: NWRFC::NWABAPException
- Defined in:
- lib/nwrfc/nwerror.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Attributes inherited from NWError
#class, #code, #group, #message, #number, #type
Instance Method Summary collapse
-
#initialize(exception) ⇒ NWABAPException
constructor
A new instance of NWABAPException.
- #to_s ⇒ Object
Methods inherited from NWError
Constructor Details
#initialize(exception) ⇒ NWABAPException
Returns a new instance of NWABAPException.
30 31 32 |
# File 'lib/nwrfc/nwerror.rb', line 30 def initialize(exception) @exception = exception end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
29 30 31 |
# File 'lib/nwrfc/nwerror.rb', line 29 def exception @exception end |
Instance Method Details
#to_s ⇒ Object
34 35 36 |
# File 'lib/nwrfc/nwerror.rb', line 34 def to_s "Function exception #{@exception}" end |