OutOfBoundsError

Moduleejs
Definitiondynamic class OutOfBoundsError
InheritanceOutOfBoundsError inherit Error inherit Object
Specifiedejscript-1.1
StabilityEvolving.

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

QualifiersPropertyTypeDescription
No properties defined

OutOfBoundsError Methods

QualifiersMethod
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]