<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU CommonC++: ost::StringTokenizer::NoSuchElementException Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_string_tokenizer.html">StringTokenizer</a>::<a class="el" href="classost_1_1_string_tokenizer_1_1_no_such_element_exception.html">NoSuchElementException</a> </div> </div> <div class="contents"> <h1>ost::StringTokenizer::NoSuchElementException Class Reference</h1><!-- doxytag: class="ost::StringTokenizer::NoSuchElementException" --> <p><a class="el" href="classost_1_1_exception.html" title="Mainline exception handler, this is the root for all Common C++ exceptions and assures...">Exception</a> thrown, if someone tried to read beyond the end of the tokens. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="tokenizer_8h_source.html">tokenizer.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classost_1_1_exception.html" title="Mainline exception handler, this is the root for all Common C++ exceptions and assures...">Exception</a> thrown, if someone tried to read beyond the end of the tokens. </p> <p>Will not happen if you use it the 'clean' way with comparison against <a class="el" href="classost_1_1_string_tokenizer.html#a74b3471e3e481c0144758385c29cbfbf" title="the iterator marking the end.">end()</a>, 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 <a class="el" href="classost_1_1_exception.html" title="Mainline exception handler, this is the root for all Common C++ exceptions and assures...">Exception</a> will be thrown. </p> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="tokenizer_8h_source.html">tokenizer.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Mar 12 10:07:42 2010 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>