EmptyStackException
Defined in: src/exceptions.ts:40
Thrown by Stack.peek() and Stack.pop() when the stack is empty.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new EmptyStackException(
message?):EmptyStackException
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”EmptyStackException
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='EmptyStackException'
Defined in: src/exceptions.ts:42
Always 'EmptyStackException'.
Overrides
Section titled “Overrides”stack?
Section titled “stack?”
optionalstack?:string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1076