Packagesystem.errors
Classpublic class NoSuchElementError
InheritanceNoSuchElementError Inheritance Error

Thrown by an Iterator to indicate that there are no more elements in the iteration.



Public Methods
 MethodDefined By
  
NoSuchElementError(message:String, id:int = 0)
Creates a new NoSuchElementError instance.
NoSuchElementError
Constructor Detail
NoSuchElementError()Constructor
public function NoSuchElementError(message:String, id:int = 0)

Creates a new NoSuchElementError instance. If message is specified, its value is assigned to the object's NoSuchElementError.message property.

Parameters
message:String — A string associated with the NoSuchElementError object ; this parameter is optional.
 
id:int (default = 0) — A reference number to associate with the specific error message.