Class: NoSuchElementError

system.errors. NoSuchElementError


new NoSuchElementError( [message] [, fileName] [, lineNumber])

Thrown by an Enumeration to indicate that there are no more elements in the enumeration.

Thrown by an Enumeration to indicate that there are no more elements in the enumeration.

Parameters:
Name Type Argument Description
message string <optional>

Human-readable description of the error.

fileName string <optional>

Human-readable description of the error.

lineNumber string <optional>

Human-readable description of the error.

Extends

  • Error