# File lib/soap/nestedexception.rb, line 22 22: def set_backtrace(backtrace) 23: if @cause and @cause.respond_to?(:backtrace) 24: @original_backtrace = backtrace 25: # for agressive backtrace abstraction: 'here' only should not be good here = @original_backtrace[0] backtrace = Array[*@cause.backtrace] backtrace[0] = "#{backtrace[0]}: #{@cause} (#{@cause.class})" backtrace.unshift(here)=end 26: # just join the nested backtrace at the tail of backtrace 27: caused = Array[*@cause.backtrace] 28: caused[0] = "#{caused[0]}: #{@cause} (#{@cause.class}) [NESTED]" 29: backtrace += caused 30: end 31: super(backtrace) 32: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.