# File lib/rake/application.rb, line 131
131:     def standard_exception_handling
132:       begin
133:         yield
134:       rescue SystemExit => ex
135:         # Exit silently with current status
136:         raise
137:       rescue OptionParser::InvalidOption => ex
138:         $stderr.puts ex.message
139:         exit(false)
140:       rescue Exception => ex
141:         # Exit with error message
142:         display_error_message(ex)
143:         exit(false)
144:       end
145:     end