Package dev.comfast.cf.common.errors
Class ElementFindFail
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.comfast.cf.common.errors.ElementFindFail
- All Implemented Interfaces:
Serializable
Indicates that element was not found at given index in selector chain.
Reason is stored in cause Throwable.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ElementFindFail
-
-
Method Details
-
toString
-
getMessage
- Overrides:
getMessagein classThrowable
-
getPointer
Returns pointer to element in selector chain. e.g.#notExistId >> .myClass ^ NoSuchElementException -
getChain
-
getFailIndex
public int getFailIndex()
-