Skip to content
Buy me a coffee

IllegalStateException

Defined in: src/exceptions.ts:68

Thrown when a method is called at the wrong time: Iterator.remove() before next() or twice in a row, add() on a full bounded queue, or reusing a stream that was already consumed.

new IllegalStateException(message?): IllegalStateException

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

string

IllegalStateException

RuntimeException.constructor

message: string

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

RuntimeException.message


name: string = 'IllegalStateException'

Defined in: src/exceptions.ts:70

Always 'IllegalStateException'.

RuntimeException.name


optional stack?: string

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

RuntimeException.stack