method

new

new(msg = nil, e = nil)
public

No documentation available.

# File actionpack/lib/action_controller/metal/exceptions.rb, line 6
    def initialize(msg = nil, e = nil)
      if e
        ActiveSupport::Deprecation.warn("Passing #original_exception is deprecated and has no effect. "                                          "Exceptions will automatically capture the original exception.", caller)
      end

      super(msg)
      set_backtrace $!.backtrace if $!
    end