Class org.as2lib.data.holder.NoSuchElementException

Description

NoSuchElementException is thrown if the element you tried to obtain does not exist. This can be the case if you for example call the next method on an iterator that has no elements left to iterate over.

Field Index

Inherited from Error

message, name

Method Index

new NoSuchElementException()

Inherited from Exception

Inherited from AbstractThrowable

Constructor Detail

NoSuchElementException

public 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

messagethe message that describes the problem in detail
throwerthe object that declares the method that throws this exception
argsthe arguments of the throwing method