# File lib/hoptoad_notifier/rails3_tasks.rb, line 58 def exception_class exception_name = ENV['EXCEPTION'] || "HoptoadTestingException" Object.const_get(exception_name) rescue Object.const_set(exception_name, Class.new(Exception)) end