ElementNotFoundException.this

this(string type, string search, Element searchContext, string file = __FILE__, size_t line = __LINE__)

type == kind of element you were looking for and search == a selector describing the search.