Class ElementFindFail

All Implemented Interfaces:
Serializable

public class ElementFindFail extends RuntimeException
Indicates that element was not found at given index in selector chain.

Reason is stored in cause Throwable.

See Also:
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Throwable
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getPointer

      public String getPointer()
      Returns pointer to element in selector chain. e.g.
         #notExistId >> .myClass
                        ^
                        NoSuchElementException
       
    • getChain

      public SelectorChain getChain()
    • getFailIndex

      public int getFailIndex()