class ActionView::Template::Error

def initialize(template, original_exception = nil)

def initialize(template, original_exception = nil)
  if original_exception
    ActiveSupport::Deprecation.warn("Passing #original_exception is deprecated and has no effect. " \
                                    "Exceptions will automatically capture the original exception.", caller)
  end
  super($!.message)
  set_backtrace($!.backtrace)
  @template, @sub_templates = template, nil
end