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