Google

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

StringTokenizer::NoSuchElementException Class Reference

Exception thrown, if someone tried to read beyond the end of the tokens. More...

#include <misc.h>


Detailed Description

Exception thrown, if someone tried to read beyond the end of the tokens.

Will not happen if you use it the 'clean' way with comparison against end(), but if you skip some tokens, because you 'know' they are there. Simplifies error handling a lot, since you can just read your tokens the way you expect it, and if there is some error in the input this Exception will be thrown.


The documentation for this class was generated from the following file:
Generated at Fri Mar 23 10:47:56 2001 for CommonC++ by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000