# File lib/deltacloud/base_driver/exceptions.rb, line 101 def exception(handler) self.handler = handler end
Condition can be class or regexp
# File lib/deltacloud/base_driver/exceptions.rb, line 107 def match?(e) @conditions.each do |c| return true if c.class == Class && e.class == c return true if c.class == Regexp && (e.class.name =~ c or e.message =~ c) end return false end
Generated with the Darkfish Rdoc Generator 2.