OutOfBoundsError
Module | ejs |
Definition | dynamic class OutOfBoundsError |
Inheritance | OutOfBoundsError ![]() ![]() |
Specified | ejscript-1.1 |
Stability | Evolving. |
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 = null) | |
OutOfBoundsError constructor. |
Method Detail
public OutOfBoundsError(message: String = null)
OutOfBoundsError constructor.
- Parameters
message: String Message to use when defining the Error.message property. [default: null]