<!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>KatanaNativeInterface: Exception Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">KatanaNativeInterface <span id="projectnumber">$VERSION$</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</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="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('classException.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <h1>Exception Class Reference<div class="ingroups"><a class="el" href="group__exceptions.html">Exceptions</a></div></h1> </div> </div> <div class="contents"> <!-- doxytag: class="Exception" --><!-- doxytag: inherits="std::exception" --> <p><code>#include <<a class="el" href="exception_8h_source.html">exception.h</a>></code></p> <div class="dynheader"> Inheritance diagram for Exception:</div> <div class="dyncontent"> <div class="center"><img src="classException__inherit__graph.png" border="0" usemap="#Exception_inherit__map" alt="Inheritance graph"/></div> <map name="Exception_inherit__map" id="Exception_inherit__map"> <area shape="rect" id="node5" href="classCannotGetSetPortAttributesException.html" title="Could not set or get the attributes for the given serial communication device." alt="" coords="5,387,267,472"/><area shape="rect" id="node7" href="classCannotOpenPortException.html" title="Failed to open the serial communication device." alt="" coords="291,387,488,472"/><area shape="rect" id="node9" href="classConfigFileEntryNotFoundException.html" title="The requested entry could not be found." alt="" coords="512,387,757,472"/><area shape="rect" id="node11" href="classConfigFileOpenException.html" title="Accessing the given configuration file failed (may be: access denied or wrong path)" alt="" coords="781,387,971,472"/><area shape="rect" id="node13" href="classConfigFileSectionNotFoundException.html" title="The requested section could not be found." alt="" coords="995,387,1253,472"/><area shape="rect" id="node15" href="classConfigFileStateException.html" title="The state of the configuration file wasn't "good"." alt="" coords="1277,387,1467,472"/><area shape="rect" id="node17" href="classConfigFileSubsectionNotFoundException.html" title="The requested subsection could not be found." alt="" coords="1491,387,1771,472"/><area shape="rect" id="node19" href="classConfigFileSyntaxErrorException.html" title="There was a syntax error in the configuration file." alt="" coords="1795,387,2021,472"/><area shape="rect" id="node21" href="classDeviceReadException.html" title="Reading from the serial communication device failed." alt="" coords="2045,387,2216,472"/><area shape="rect" id="node23" href="classDeviceWriteException.html" title="Writing to the serial communication device failed." alt="" coords="2240,387,2411,472"/><area shape="rect" id="node25" href="classErrorException.html" title="The Katana returned an error string." alt="" coords="2435,387,2563,472"/><area shape="rect" id="node27" href="classFirmwareException.html" title="Exception reported by the firmware." alt="" coords="2587,361,2741,498"/><area shape="rect" id="node29" href="classJointSpeedException.html" title="Joint speed too high." alt="" coords="2765,387,2931,472"/><area shape="rect" id="node31" href="classKNI_1_1NoSolutionException.html" title="No solution found for the given cartesian coordinates." alt="" coords="2955,387,3128,472"/><area shape="rect" id="node33" href="classMotorCrashException.html" title="The requested motor crashed during the movement." alt="" coords="3152,387,3320,472"/><area shape="rect" id="node35" href="classMotorOutOfRangeException.html" title="The encoders for the given motor were out of range." alt="" coords="3344,387,3549,472"/><area shape="rect" id="node37" href="classMotorTimeoutException.html" title="The timeout elapsed for the given motor and target position." alt="" coords="3573,387,3752,472"/><area shape="rect" id="node39" href="classParameterReadingException.html" title="There was an error while reading a parameter from the robot." alt="" coords="3776,387,3984,472"/><area shape="rect" id="node41" href="classParameterWritingException.html" title="The data you wanted to send to the robot was invalid." alt="" coords="4008,387,4208,472"/><area shape="rect" id="node43" href="classPortNotOpenException.html" title="The port was not open." alt="" coords="4232,387,4408,472"/><area shape="rect" id="node45" href="classReadWriteNotCompleteException.html" title="This exception is the base for the WriteNotComplete and ReadNotCompleteException." alt="" coords="4432,387,4669,472"/><area shape="rect" id="node51" href="classSlaveErrorException.html" title="Slave error occurred." alt="" coords="4693,387,4853,472"/><area shape="rect" id="node53" href="classWaitParameterException.html" title="Wait parameter set to false." alt="" coords="4877,387,5064,472"/><area shape="rect" id="node55" href="classWrongCRCException.html" title="CRC check for the answer package failed." alt="" coords="5088,387,5256,472"/><area shape="rect" id="node57" href="classWrongParameterException.html" title="The given parameter was wrong." alt="" coords="5280,387,5477,472"/><area shape="rect" id="node2" title="STL class." alt="" coords="2796,5,2900,91"/><area shape="rect" id="node47" href="classReadNotCompleteException.html" title="The Katana didn't answer correctly within the given timeout." alt="" coords="4331,547,4539,632"/><area shape="rect" id="node49" href="classWriteNotCompleteException.html" title="Not all bytes could be written to the serial communication device." alt="" coords="4563,547,4771,632"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Exception:</div> <div class="dyncontent"> <div class="center"><img src="classException__coll__graph.png" border="0" usemap="#Exception_coll__map" alt="Collaboration graph"/></div> <map name="Exception_coll__map" id="Exception_coll__map"> <area shape="rect" id="node2" title="STL class." alt="" coords="5,141,109,227"/><area shape="rect" id="node4" title="STL class." alt="" coords="133,141,213,227"/><area shape="rect" id="node6" title="STL class." alt="" coords="91,5,256,91"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classException-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#a1e7d40687c861dba563a3e0275b3cede">Exception</a> (const std::string &message, const int error_number) throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#ad1ba411de295ef2eeb02ba26284a829a">~Exception</a> () throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#a6c9f5b443df0fdb3776b490e17740600">message</a> () const throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#a45642915395d3b813fedc2593fbcb8bb">what</a> () const throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#a6913e80ebb7961989b64744cb7ba43d7">error_number</a> () const throw ()</td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#a5fa2141e659c7ce17a54c437a77908ba">_message</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html#abb440c5721475e44fa1e637b48c9c94f">_error_number</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00079">79</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a1e7d40687c861dba563a3e0275b3cede"></a><!-- doxytag: member="Exception::Exception" ref="a1e7d40687c861dba563a3e0275b3cede" args="(const std::string &message, const int error_number)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Exception::Exception </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>message</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const int </td> <td class="paramname"><em>error_number</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> throw ()<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00085">85</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="ad1ba411de295ef2eeb02ba26284a829a"></a><!-- doxytag: member="Exception::~Exception" ref="ad1ba411de295ef2eeb02ba26284a829a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Exception::~Exception </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> throw ()<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00090">90</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a6913e80ebb7961989b64744cb7ba43d7"></a><!-- doxytag: member="Exception::error_number" ref="a6913e80ebb7961989b64744cb7ba43d7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const int Exception::error_number </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const throw ()<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00100">100</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="a6c9f5b443df0fdb3776b490e17740600"></a><!-- doxytag: member="Exception::message" ref="a6c9f5b443df0fdb3776b490e17740600" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Exception::message </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const throw ()<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00093">93</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="a45642915395d3b813fedc2593fbcb8bb"></a><!-- doxytag: member="Exception::what" ref="a45642915395d3b813fedc2593fbcb8bb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* Exception::what </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const throw ()<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00096">96</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="abb440c5721475e44fa1e637b48c9c94f"></a><!-- doxytag: member="Exception::_error_number" ref="abb440c5721475e44fa1e637b48c9c94f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const int <a class="el" href="classException.html#abb440c5721475e44fa1e637b48c9c94f">Exception::_error_number</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00082">82</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="a5fa2141e659c7ce17a54c437a77908ba"></a><!-- doxytag: member="Exception::_message" ref="a5fa2141e659c7ce17a54c437a77908ba" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string <a class="el" href="classException.html#a5fa2141e659c7ce17a54c437a77908ba">Exception::_message</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00081">81</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>include/common/<a class="el" href="exception_8h_source.html">exception.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classException.html">Exception</a> </li> <li class="footer">Generated on Tue Feb 8 2011 for KatanaNativeInterface by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>