method

exception2obj

ruby latest stable - Class: SOAP::Mapping::RubytypeFactory

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

exception2obj(klass, node, map)
private

No documentation available.

# File lib/soap/mapping/rubytypeFactory.rb, line 446
  def exception2obj(klass, node, map)
    message = Mapping._soap2obj(node['message'], map)
    backtrace = Mapping._soap2obj(node['backtrace'], map)
    obj = Mapping.create_empty_object(klass)
    obj = obj.exception(message)
    mark_unmarshalled_obj(node, obj)
    obj.set_backtrace(backtrace)
    obj
  end