OutOfBoundsError
| Module | ejs |
| Namespace | intrinsic |
| Definition | dynamic class OutOfBoundsError |
| Specified | Ejs-11. |
| Inheritance | OutOfBoundsError Error Object |
OutOfBounds error exception class.
Thrown to indicate that an attempt has been made to set or access an object's property outside of the permitted set of values for that property. For example, an array has been accessed with an illegal index or, in a date object, attempting to set the day of the week to greater then 7.
Properties
| Qualifiers | Property | Type | Description |
|---|---|---|---|
| No properties defined | |||
OutOfBoundsError Methods
| Qualifiers | Method |
|---|---|
| OutOfBoundsError(message: String) | |
| OutOfBoundsError constructor. |
Method Detail
OutOfBoundsError(message: String)
OutOfBoundsError constructor.
- Parameters
message: String Message to use when defining the Error.message property