<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MPQC: sc::FileOperationFailed 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.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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 class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</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"><b>sc</b>::<a class="el" href="classsc_1_1FileOperationFailed.html">FileOperationFailed</a> </div> </div> <div class="contents"> <h1>sc::FileOperationFailed Class Reference</h1><!-- doxytag: class="sc::FileOperationFailed" --><!-- doxytag: inherits="sc::SystemException" -->This is thrown when an operation on a file fails. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="scexception_8h_source.html">scexception.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for sc::FileOperationFailed:</div> <div class="dynsection"> <p><center><img src="classsc_1_1FileOperationFailed.png" usemap="#sc::FileOperationFailed_map" border="0" alt=""></center> <map name="sc::FileOperationFailed_map"> <area href="classsc_1_1SystemException.html" alt="sc::SystemException" shape="rect" coords="0,56,143,80"> <area href="classsc_1_1SCException.html" alt="sc::SCException" shape="rect" coords="0,0,143,24"> </map> </div> <p> <a href="classsc_1_1FileOperationFailed-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b>FileOperation</b> { <br> <b>Unknown</b>, <b>OpenR</b>, <b>OpenW</b>, <b>OpenRW</b>, <br> <b>Close</b>, <b>Read</b>, <b>Write</b>, <b>Corrupt</b>, <br> <b>Other</b> <br> }</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="761080b868ed3dc1e3042253c53bd04c"></a><!-- doxytag: member="sc::FileOperationFailed::FileOperationFailed" ref="761080b868ed3dc1e3042253c53bd04c" args="(const char *description=0, const char *source_file=0, int line=0, const char *filename=0, FileOperation operation=Unknown, const ClassDesc *class_desc=0, const char *exception_type="FileOperationFailed")" --> </td><td class="memItemRight" valign="bottom"><b>FileOperationFailed</b> (const char *description=0, const char *source_file=0, int line=0, const char *filename=0, FileOperation operation=Unknown, const <a class="el" href="classsc_1_1ClassDesc.html">ClassDesc</a> *class_desc=0, const char *exception_type="FileOperationFailed") throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b57c4744eef73e0dad6b5d1fb55cf85f"></a><!-- doxytag: member="sc::FileOperationFailed::FileOperationFailed" ref="b57c4744eef73e0dad6b5d1fb55cf85f" args="(const FileOperationFailed &)" --> </td><td class="memItemRight" valign="bottom"><b>FileOperationFailed</b> (const <a class="el" href="classsc_1_1FileOperationFailed.html">FileOperationFailed</a> &) throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1FileOperationFailed.html#21eaae4f9a7213c382e3e5839e716958">filename</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the file name of the file that caused the error, if known. <a href="#21eaae4f9a7213c382e3e5839e716958"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38a0fdc3c7daea05abbec865a0880a48"></a><!-- doxytag: member="sc::FileOperationFailed::operation" ref="38a0fdc3c7daea05abbec865a0880a48" args="() const " --> FileOperation </td><td class="memItemRight" valign="bottom"><b>operation</b> () const throw ()</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This is thrown when an operation on a file fails. <hr><h2>Member Function Documentation</h2> <a class="anchor" name="21eaae4f9a7213c382e3e5839e716958"></a><!-- doxytag: member="sc::FileOperationFailed::filename" ref="21eaae4f9a7213c382e3e5839e716958" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* sc::FileOperationFailed::filename </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the file name of the file that caused the error, if known. <p> Otherwise 0 is returned. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="scexception_8h_source.html">scexception.h</a></ul> </div> <hr> <address> <small> Generated at Wed Oct 14 14:12:16 2009 for <a href="http://www.mpqc.org">MPQC</a> 2.3.1 using the documentation package <a href="http://www.doxygen.org">Doxygen</a> 1.5.9. </small> </address> </body> </html>