IllegalArgumentException
Defined in: src/exceptions.ts:59
Thrown when an argument has an invalid value: a negative capacity, a load factor that is not positive,
fromIndex > toIndex in a range method, a duplicate element passed to Set.of, or a duplicate key passed to Map.of.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new IllegalArgumentException(
message?):IllegalArgumentException
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”IllegalArgumentException
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='IllegalArgumentException'
Defined in: src/exceptions.ts:61
Always 'IllegalArgumentException'.
Overrides
Section titled “Overrides”stack?
Section titled “stack?”
optionalstack?:string
Defined in: site/node_modules/typescript/lib/lib.es5.d.ts:1076