<!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>Crypto++: InvalidDataFormat 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.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">Crypto++</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="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> </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="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>InvalidDataFormat Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="InvalidDataFormat" --><!-- doxytag: inherits="Exception" --> <p>exception thrown when input data is received that doesn't conform to expected format <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>></code></p> <div class="dynheader"> Inheritance diagram for InvalidDataFormat:</div> <div class="dyncontent"> <div class="center"> <img src="class_invalid_data_format.png" usemap="#InvalidDataFormat_map" alt=""/> <map id="InvalidDataFormat_map" name="InvalidDataFormat_map"> <area href="class_exception.html" alt="Exception" shape="rect" coords="292,0,477,24"/> <area href="class_crypto_material_1_1_invalid_material.html" alt="CryptoMaterial::InvalidMaterial" shape="rect" coords="0,112,185,136"/> <area href="class_d_l___bad_element.html" alt="DL_BadElement" shape="rect" coords="195,112,380,136"/> <area href="class_hash_input_too_long.html" alt="HashInputTooLong" shape="rect" coords="390,112,575,136"/> <area href="class_invalid_ciphertext.html" alt="InvalidCiphertext" shape="rect" coords="585,112,770,136"/> </map> </div></div> <p><a href="class_invalid_data_format-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">ErrorType</a> { <br/>   <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa1323c0f32eac2f9502b99c5c899ce629">NOT_IMPLEMENTED</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aab018a535e00d226178a71d2c5fa800d1">INVALID_ARGUMENT</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa11a8912fe9ae87f7469705b6d5130a06">CANNOT_FLUSH</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa77a639a803cf53052f9c76a0354247e6">DATA_INTEGRITY_CHECK_FAILED</a>, <br/>   <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa3a0352964781e7712b21dbb70ffbe646">INVALID_DATA_FORMAT</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aad51c7d0e0156bc1794b3b7f99599aba8">IO_ERROR</a>, <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0aa27d9ee7704100a88e4ae4adcc4072015">OTHER_ERROR</a> <br/> }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>error types </p> <a href="class_exception.html#a8e53909d979479380e0274807c074c0a">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a698d4d179bc8ffa1d16356fa4b3fa413"></a><!-- doxytag: member="InvalidDataFormat::InvalidDataFormat" ref="a698d4d179bc8ffa1d16356fa4b3fa413" args="(const std::string &s)" -->  </td><td class="memItemRight" valign="bottom"><b>InvalidDataFormat</b> (const std::string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45642915395d3b813fedc2593fbcb8bb"></a><!-- doxytag: member="InvalidDataFormat::what" ref="a45642915395d3b813fedc2593fbcb8bb" args="() const " --> const char * </td><td class="memItemRight" valign="bottom"><b>what</b> () const throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad67873a3923892d08072bdd378b24b29"></a><!-- doxytag: member="InvalidDataFormat::GetWhat" ref="ad67873a3923892d08072bdd378b24b29" args="() const " --> const std::string & </td><td class="memItemRight" valign="bottom"><b>GetWhat</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f2ad1081dbac6d3cd676a4baa9515d"></a><!-- doxytag: member="InvalidDataFormat::SetWhat" ref="a15f2ad1081dbac6d3cd676a4baa9515d" args="(const std::string &s)" --> void </td><td class="memItemRight" valign="bottom"><b>SetWhat</b> (const std::string &s)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb3ea0f59ff8e38ef47fe0d9c5c22dc3"></a><!-- doxytag: member="InvalidDataFormat::GetErrorType" ref="aeb3ea0f59ff8e38ef47fe0d9c5c22dc3" args="() const " --> <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">ErrorType</a> </td><td class="memItemRight" valign="bottom"><b>GetErrorType</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e1d8806d64e54e9584e9918462894bc"></a><!-- doxytag: member="InvalidDataFormat::SetErrorType" ref="a0e1d8806d64e54e9584e9918462894bc" args="(ErrorType errorType)" --> void </td><td class="memItemRight" valign="bottom"><b>SetErrorType</b> (<a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">ErrorType</a> errorType)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>exception thrown when input data is received that doesn't conform to expected format </p> <p>Definition at line <a class="el" href="cryptlib_8h_source.html#l00152">152</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p> </div><hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="a8e53909d979479380e0274807c074c0a"></a><!-- doxytag: member="InvalidDataFormat::ErrorType" ref="a8e53909d979479380e0274807c074c0a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_exception.html#a8e53909d979479380e0274807c074c0a">Exception::ErrorType</a><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>error types </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa1323c0f32eac2f9502b99c5c899ce629"></a><!-- doxytag: member="NOT_IMPLEMENTED" ref="a8e53909d979479380e0274807c074c0aa1323c0f32eac2f9502b99c5c899ce629" args="" -->NOT_IMPLEMENTED</em> </td><td> <p>a method is not implemented </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aab018a535e00d226178a71d2c5fa800d1"></a><!-- doxytag: member="INVALID_ARGUMENT" ref="a8e53909d979479380e0274807c074c0aab018a535e00d226178a71d2c5fa800d1" args="" -->INVALID_ARGUMENT</em> </td><td> <p>invalid function argument </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa11a8912fe9ae87f7469705b6d5130a06"></a><!-- doxytag: member="CANNOT_FLUSH" ref="a8e53909d979479380e0274807c074c0aa11a8912fe9ae87f7469705b6d5130a06" args="" -->CANNOT_FLUSH</em> </td><td> <p><a class="el" href="class_buffered_transformation.html" title="interface for buffered transformations">BufferedTransformation</a> received a Flush(true) signal but can't flush buffers. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa77a639a803cf53052f9c76a0354247e6"></a><!-- doxytag: member="DATA_INTEGRITY_CHECK_FAILED" ref="a8e53909d979479380e0274807c074c0aa77a639a803cf53052f9c76a0354247e6" args="" -->DATA_INTEGRITY_CHECK_FAILED</em> </td><td> <p>data integerity check (such as CRC or MAC) failed </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa3a0352964781e7712b21dbb70ffbe646"></a><!-- doxytag: member="INVALID_DATA_FORMAT" ref="a8e53909d979479380e0274807c074c0aa3a0352964781e7712b21dbb70ffbe646" args="" -->INVALID_DATA_FORMAT</em> </td><td> <p>received input data that doesn't conform to expected format </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aad51c7d0e0156bc1794b3b7f99599aba8"></a><!-- doxytag: member="IO_ERROR" ref="a8e53909d979479380e0274807c074c0aad51c7d0e0156bc1794b3b7f99599aba8" args="" -->IO_ERROR</em> </td><td> <p>error reading from input device or writing to output device </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8e53909d979479380e0274807c074c0aa27d9ee7704100a88e4ae4adcc4072015"></a><!-- doxytag: member="OTHER_ERROR" ref="a8e53909d979479380e0274807c074c0aa27d9ee7704100a88e4ae4adcc4072015" args="" -->OTHER_ERROR</em> </td><td> <p>some error not belong to any of the above categories </p> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="cryptlib_8h_source.html#l00114">114</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="cryptlib_8h_source.html">cryptlib.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Feb 8 2011 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>