INET Framework for OMNeT++/OMNEST
inet::physicallayer::NoNextIteratorException Class Reference

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>

Detailed Description

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()".

Author
Karl Wessel

The documentation for this class was generated from the following file: