# File lib/Borges/Test/ExceptionTest.rb, line 5 def go begin if confirm('Raise an exception?') then raise ExceptionTestException.new('foo') end rescue ExceptionTestException => e inform("Caught: #{e}") end end