def log_and_raise(exception, message, shift=2)
      Base.log_and_raise(config.ui.logger, exception, message, shift)
    end
def log_and_raise(exception, message, shift=2)
      Base.log_and_raise(config.ui.logger, exception, message, shift)
    end
Logs an exception and then raises it.

 @see Base.log_and_raise

 @param [Exception] exception The exception class to raise.
 @param [String] message The message to display with the exception.
 @param [Integer] shift (2) How many places to shift the caller stack in
   the log statement.