INET Framework for OMNeT++/OMNEST
|
This exception is thrown by the MappingIterators when "next()" or "nextPosition()" is called although "hasNext()" would return false (means there is no next position). More...
#include <MappingBase.h>
This exception is thrown by the MappingIterators when "next()" or "nextPosition()" is called although "hasNext()" would return false (means there is no next position).
Although this exception isn't thrown by every implementation of the "next()"-method it is always a bad idea to call "next()" although there isn't any next position. You should check "hasNext()" before calling "next()" or "nextPosition()".