lib/watir-classic/exceptions.rb in watir-classic-3.3.0 vs lib/watir-classic/exceptions.rb in watir-classic-3.4.0

- old
+ new

@@ -1,14 +1,14 @@ module Watir module Exception # Root class for all Watir Exceptions class WatirException < RuntimeError - def initialize(message="") - super(message) - end + def initialize(message="") + super(message) + end end - + # This exception is raised if an attempt is made to access an object that doesn't exist class UnknownObjectException < WatirException; end # This exception is raised if an attempt is made to access an object that is in a disabled state class ObjectDisabledException < WatirException; end # This exception is raised if an attempt is made to access a frame that cannot be found