NoSuchElementException
| Kind of class: | class |
|---|---|
| Inherits from: | DataHolderException < Exception < AbstractThrowable < Error |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.data.holder.NoSuchElementException |
| File last modified: | Saturday, 09 April 2005, 17:32:42 |
NoSuchElementException is thrown if the element you tried to obtain doesnot exist.
next methodon an iterator that has no elements left to iterate over.
Summary
Constructor
Class properties
Class properties inherited from AbstractThrowable
Instance properties
Instance properties inherited from AbstractThrowable
Class methods
Class methods inherited from AbstractThrowable
Instance methods
Instance methods inherited from AbstractThrowable
Constructor
NoSuchElementException
function NoSuchElementException (
message:String,
thrower,
args:Array)
Constructs a new
NoSuchElementException instance.All arguments are allowed to be null or undefined. But if one
is, the string representation returned by the toString method will not
be complete.
The args array should be the internal arguments array of the method
that throws the throwable. The internal arguments array exists in every method
and contains its parameters, the callee method and the caller method. You can
refernce it in every method using the name "arguments".
Parameters:
message:
the message that describes the problem in detail
thrower:
the object that declares the method that throws this exception
args :
the arguments of the throwing method