Exception: NWRFC::NWABAPException

Inherits:
NWError
  • Object
show all
Defined in:
lib/nwrfc/nwerror.rb

Instance Attribute Summary collapse

Attributes inherited from NWError

#class, #code, #group, #message, #number, #type

Instance Method Summary collapse

Methods inherited from NWError

#inspect

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

#exceptionObject (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_sObject



34
35
36
# File 'lib/nwrfc/nwerror.rb', line 34

def to_s
  "Function exception #{@exception}"
end