NoSuchElementException
Defined in: src/exceptions.ts:34
Thrown when a requested element does not exist: next() on an exhausted iterator, getFirst()/element()
on an empty collection, first()/firstKey() on an empty sorted set or map, Optional.get() on an empty optional.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NoSuchElementException(
message?):NoSuchElementException
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”NoSuchElementException
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”message
Section titled “message”message:
string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”name:
string='NoSuchElementException'
Defined in: src/exceptions.ts:36
Always 'NoSuchElementException'.
Overrides
Section titled “Overrides”stack?
Section titled “stack?”
optionalstack?:string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1076