Skip to content
Buy me a coffee

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.

new NoSuchElementException(message?): NoSuchElementException

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1080

string

NoSuchElementException

RuntimeException.constructor

message: string

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1075

RuntimeException.message


name: string = 'NoSuchElementException'

Defined in: src/exceptions.ts:36

Always 'NoSuchElementException'.

RuntimeException.name


optional stack?: string

Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1076

RuntimeException.stack