Skip to content
Buy me a coffee

NullPointerException

Defined in: src/exceptions.ts:50

Thrown when null or undefined is passed where a value is required: a null collection or function argument, a null element in a collection that rejects nulls (ArrayDeque, PriorityQueue, the immutable List.of/Set.of/ Map.of collections), or a null key in a TreeMap that uses natural ordering.

new NullPointerException(message?): NullPointerException

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

string

NullPointerException

RuntimeException.constructor

message: string

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

RuntimeException.message


name: string = 'NullPointerException'

Defined in: src/exceptions.ts:52

Always 'NullPointerException'.

RuntimeException.name


optional stack?: string

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

RuntimeException.stack