Sha256: fa2ce2aa5369e8428048572779e4e5994ce38e968e1800bc33268c3b25d5e377

Contents?: true

Size: 1.98 KB

Versions: 15

Compression:

Stored size: 1.98 KB

Contents

module Celerity
  module Exception
    
    #
    # Superclass for all Celerity exceptions.
    #

    class CelerityException < StandardError; end

    #
    # This exception is thrown if an attempt is made to access an object that doesn't exist
    #

    class UnknownObjectException < CelerityException; end
    
    #
    # This exception is thrown if an attempt is made to access an object that is in a disabled state
    #

    class ObjectDisabledException < CelerityException; end

    #
    # This exception is thrown if an attempt is made to access a frame that cannot be found
    #

    class UnknownFrameException < CelerityException; end

    #
    # This exception is thrown if an attempt is made to access a form that cannot be found
    #

    class UnknownFormException < CelerityException; end

    #
    # This exception is thrown if an attempt is made to access an object that is in a read-only state
    #

    class ObjectReadOnlyException < CelerityException; end

    #
    # This exception is thrown if an attempt is made to access an object when the specified value cannot be found
    #

    class NoValueFoundException < CelerityException; end

    #
    # This exception gets raised if the how argument is wrong.
    #

    class MissingWayOfFindingObjectException < CelerityException; end

    #
    # This exception is raised if an attempt is made to access a table row that doesn't exist
    #

    class UnknownRowException < CelerityException; end
    
    #
    # This exception is raised if an attempt is made to access a table cell that doesn't exist
    #

    class UnknownCellException < CelerityException; end

    #
    # This exception is thrown if an http error, such as a 404, 500 etc is encountered while navigating
    #

    class NavigationException < CelerityException; end
    
    #
    # This exception is thrown if an unexpected content type is returned by the server.
    #

    class UnexpectedPageException < CelerityException; end
    
  end # Exception
end # Celerity

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
jarib-celerity-0.0.5.10 lib/celerity/exception.rb
jarib-celerity-0.0.5.11 lib/celerity/exception.rb
jarib-celerity-0.0.5.6 lib/celerity/exception.rb
jarib-celerity-0.0.5.7 lib/celerity/exception.rb
jarib-celerity-0.0.5.8 lib/celerity/exception.rb
jarib-celerity-0.0.5.9 lib/celerity/exception.rb
jarib-celerity-0.0.6.1 lib/celerity/exception.rb
jarib-celerity-0.0.6.2 lib/celerity/exception.rb
jarib-celerity-0.0.6.3 lib/celerity/exception.rb
jarib-celerity-0.0.6.4 lib/celerity/exception.rb
jarib-celerity-0.0.6.5 lib/celerity/exception.rb
jarib-celerity-0.0.6.6 lib/celerity/exception.rb
jarib-celerity-0.0.6.7 lib/celerity/exception.rb
jarib-celerity-0.0.6 lib/celerity/exception.rb
celerity-0.0.6 lib/celerity/exception.rb