Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > f149f58f4a75af135bdb24f5dfe94165 > files > 911

libdap-doc-3.9.3-3mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libdap++: libdap::ResponseTooBigErr 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="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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 class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacelibdap.html">libdap</a>::<a class="el" href="classlibdap_1_1ResponseTooBigErr.html">ResponseTooBigErr</a>
  </div>
</div>
<div class="contents">
<h1>libdap::ResponseTooBigErr Class Reference</h1><!-- doxytag: class="libdap::ResponseTooBigErr" --><!-- doxytag: inherits="libdap::Error" --><code>#include &lt;<a class="el" href="ResponseTooBigErr_8h_source.html">ResponseTooBigErr.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for libdap::ResponseTooBigErr:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1ResponseTooBigErr__inherit__graph.png" border="0" usemap="#libdap_1_1ResponseTooBigErr__inherit__map" alt="Inheritance graph"></center>
<map name="libdap_1_1ResponseTooBigErr__inherit__map">
<area shape="rect" id="node2" href="classlibdap_1_1Error.html" title="A class for error processing." alt="" coords="25,5,257,288"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for libdap::ResponseTooBigErr:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1ResponseTooBigErr__coll__graph.png" border="0" usemap="#libdap_1_1ResponseTooBigErr__coll__map" alt="Collaboration graph"></center>
<map name="libdap_1_1ResponseTooBigErr__coll__map">
<area shape="rect" id="node2" href="classlibdap_1_1Error.html" title="A class for error processing." alt="" coords="25,147,257,429"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classlibdap_1_1ResponseTooBigErr-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 Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacelibdap.html#4d08204a35e99e555cda79022648362f">ErrorCode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#207b7ba3e52b236a5c48440525c99ab8">get_error_code</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687">get_error_message</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e">OK</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object valid?  <a href="#5624b1cca8a752a24d76a50e092fd61e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6">parse</a> (FILE *fp)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object.  <a href="#c705b3c1cfab1f7530d66a974eb0e8b6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#b411acbae4f6592c6ec23760eed622ed">print</a> (ostream &amp;out) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#f2185ebeb4236e2902abda772a2b5a49">print</a> (FILE *out) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1ResponseTooBigErr.html#cf4ada20ba43f41d025bed00761e86b7">ResponseTooBigErr</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1ResponseTooBigErr.html#9cb28cd65b6496db24ba4fa0b0c02153">ResponseTooBigErr</a> (const string &amp;msg)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#47c0f4b6a38d8ca075d1056076d2845d">set_error_code</a> (<a class="el" href="namespacelibdap.html#4d08204a35e99e555cda79022648362f">ErrorCode</a> ec=undefined_error)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#f48fc071e737b88925dfd0bff8995304">set_error_message</a> (string msg=&quot;&quot;)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacelibdap.html#4d08204a35e99e555cda79022648362f">ErrorCode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#30226017ae9dfbe2e27be502b4fbdef4">_error_code</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibdap_1_1Error.html#86b1ed1e500e2ad6bbcfdd046b870728">_error_message</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classlibdap_1_1ResponseTooBigErr.html">ResponseTooBigErr</a> is thrown by HTTPCache::parse_header and write_body if the response that's being cached is too big. The <a class="el" href="classlibdap_1_1HTTPCache.html">HTTPCache</a> methods determine just what 'too big' means.<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>jhrg </dd></dl>

<p>Definition at line <a class="el" href="ResponseTooBigErr_8h_source.html#l00045">45</a> of file <a class="el" href="ResponseTooBigErr_8h_source.html">ResponseTooBigErr.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9cb28cd65b6496db24ba4fa0b0c02153"></a><!-- doxytag: member="libdap::ResponseTooBigErr::ResponseTooBigErr" ref="9cb28cd65b6496db24ba4fa0b0c02153" args="(const string &amp;msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::ResponseTooBigErr::ResponseTooBigErr           </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>msg</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ResponseTooBigErr_8cc_source.html#l00044">44</a> of file <a class="el" href="ResponseTooBigErr_8cc_source.html">ResponseTooBigErr.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>, and <a class="el" href="Error_8h_source.html#l00060">unknown_error</a>.</p>

</div>
</div><p>
<a class="anchor" name="cf4ada20ba43f41d025bed00761e86b7"></a><!-- doxytag: member="libdap::ResponseTooBigErr::ResponseTooBigErr" ref="cf4ada20ba43f41d025bed00761e86b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">libdap::ResponseTooBigErr::ResponseTooBigErr           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ResponseTooBigErr_8cc_source.html#l00039">39</a> of file <a class="el" href="ResponseTooBigErr_8cc_source.html">ResponseTooBigErr.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, and <a class="el" href="Error_8h_source.html#l00060">unknown_error</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="207b7ba3e52b236a5c48440525c99ab8"></a><!-- doxytag: member="libdap::ResponseTooBigErr::get_error_code" ref="207b7ba3e52b236a5c48440525c99ab8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelibdap.html#4d08204a35e99e555cda79022648362f">ErrorCode</a> libdap::Error::get_error_code           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the ErrorCode for this instance. 
<p>Definition at line <a class="el" href="Error_8cc_source.html#l00250">250</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, and <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Error_207b7ba3e52b236a5c48440525c99ab8_cgraph.png" border="0" usemap="#classlibdap_1_1Error_207b7ba3e52b236a5c48440525c99ab8_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Error_207b7ba3e52b236a5c48440525c99ab8_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="365,5,557,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="917fdf537b7dd7e587e9cf6dc7e4c687"></a><!-- doxytag: member="libdap::ResponseTooBigErr::get_error_message" ref="917fdf537b7dd7e587e9cf6dc7e4c687" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string libdap::Error::get_error_message           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current error message. 
<p>Definition at line <a class="el" href="Error_8cc_source.html#l00279">279</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>, and <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>.</p>

<p>Referenced by <a class="el" href="HTTPCache_8cc_source.html#l01143">libdap::HTTPCache::cache_response()</a>, <a class="el" href="getdap_8cc_source.html#l00152">main()</a>, <a class="el" href="AISMerge_8cc_source.html#l00082">libdap::AISMerge::merge()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="HTTPCache_8cc_source.html#l00317">libdap::HTTPCache::~HTTPCache()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Error_917fdf537b7dd7e587e9cf6dc7e4c687_cgraph.png" border="0" usemap="#classlibdap_1_1Error_917fdf537b7dd7e587e9cf6dc7e4c687_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Error_917fdf537b7dd7e587e9cf6dc7e4c687_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="395,5,587,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="5624b1cca8a752a24d76a50e092fd61e"></a><!-- doxytag: member="libdap::ResponseTooBigErr::OK" ref="5624b1cca8a752a24d76a50e092fd61e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Error::OK           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Use this function to determine whether an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object is valid. To be a valid, an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object must either be: 1) empty or contain a message and a code.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if the object is valid, FALSE otherwise. </dd></dl>

<p>Definition at line <a class="el" href="Error_8cc_source.html#l00136">136</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>, <a class="el" href="debug_8h_source.html#l00058">DBG</a>, and <a class="el" href="Error_8h_source.html#l00059">undefined_error</a>.</p>

<p>Referenced by <a class="el" href="Error_8cc_source.html#l00250">libdap::Error::get_error_code()</a>, <a class="el" href="Error_8cc_source.html#l00279">libdap::Error::get_error_message()</a>, <a class="el" href="Error_8cc_source.html#l00113">libdap::Error::operator=()</a>, <a class="el" href="Error_8cc_source.html#l00159">libdap::Error::parse()</a>, and <a class="el" href="Error_8cc_source.html#l00201">libdap::Error::print()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c705b3c1cfab1f7530d66a974eb0e8b6"></a><!-- doxytag: member="libdap::ResponseTooBigErr::parse" ref="c705b3c1cfab1f7530d66a974eb0e8b6" args="(FILE *fp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool libdap::Error::parse           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given an input stream (FILE *) <code>fp</code>, parse an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object from stream. Values for fields of the <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object are parsed and <code>this</code> is set accordingly. This is how a client program receives an error object from a server.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>A valid file pointer to an input stream. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if no error was detected, FALSE otherwise. </dd></dl>

<p>Definition at line <a class="el" href="Error_8cc_source.html#l00159">159</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd">Error_buffer()</a>, <a class="el" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8">Error_delete_buffer()</a>, <a class="el" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b">Error_switch_to_buffer()</a>, <a class="el" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c">Errorparse()</a>, <a class="el" href="Error_8cc_source.html#l00279">libdap::Error::get_error_message()</a>, <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>, and <a class="el" href="parser_8h_source.html#l00101">libdap::parser_arg::status()</a>.</p>

<p>Referenced by <a class="el" href="Connect_8cc_source.html#l00343">libdap::Connect::request_das()</a>, <a class="el" href="Connect_8cc_source.html#l00412">libdap::Connect::request_das_url()</a>, <a class="el" href="Connect_8cc_source.html#l00475">libdap::Connect::request_dds()</a>, <a class="el" href="Connect_8cc_source.html#l00559">libdap::Connect::request_dds_url()</a>, <a class="el" href="Connect_8cc_source.html#l00619">libdap::Connect::request_ddx()</a>, and <a class="el" href="Connect_8cc_source.html#l00696">libdap::Connect::request_ddx_url()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Error_c705b3c1cfab1f7530d66a974eb0e8b6_cgraph.png" border="0" usemap="#classlibdap_1_1Error_c705b3c1cfab1f7530d66a974eb0e8b6_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Error_c705b3c1cfab1f7530d66a974eb0e8b6_cgraph_map">
<area shape="rect" id="node3" href="Error_8cc.html#dfec1b31b9c0855ec3f39c9114b085bd" title="Error_buffer" alt="" coords="375,5,516,32"><area shape="rect" id="node5" href="Error_8cc.html#6ab0f7ae420eb26a950794dd0c9090d8" title="Error_delete_buffer" alt="" coords="340,56,551,83"><area shape="rect" id="node7" href="Error_8cc.html#a1dc432625185fae6933cefeea085d5b" title="Error_switch_to_buffer" alt="" coords="325,107,565,133"><area shape="rect" id="node9" href="Error_8cc.html#451f3a09d4697c0ceb2dc1fa9d5caa9c" title="Errorparse" alt="" coords="385,157,505,184"><area shape="rect" id="node11" href="classlibdap_1_1Error.html#917fdf537b7dd7e587e9cf6dc7e4c687" title="libdap::Error::get_error_message" alt="" coords="275,208,616,235"><area shape="rect" id="node13" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="664,233,856,260"><area shape="rect" id="node16" href="structlibdap_1_1parser__arg.html#9d4f550e0ca6188501290d42382e85a2" title="libdap::parser_arg::status" alt="" coords="305,309,585,336"></map>
</div>

</div>
</div><p>
<a class="anchor" name="b411acbae4f6592c6ec23760eed622ed"></a><!-- doxytag: member="libdap::ResponseTooBigErr::print" ref="b411acbae4f6592c6ec23760eed622ed" args="(ostream &amp;out) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Error::print           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>strm</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a printable representation of the <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object. It is suitable for framing, and also for printing and sending over a network.<p>
The printed representation produced by this function can be parsed by the <a class="el" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object.">parse()</a> member function. Thus parse and print form a symmetrical pair that can be used to send and receive an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object over the network in a MIME document.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>strm</em>&nbsp;</td><td>A reference to the output stream on which the <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object is to be rendered. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Error_8cc_source.html#l00230">230</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>, and <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Error_b411acbae4f6592c6ec23760eed622ed_cgraph.png" border="0" usemap="#classlibdap_1_1Error_b411acbae4f6592c6ec23760eed622ed_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Error_b411acbae4f6592c6ec23760eed622ed_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="275,5,467,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="f2185ebeb4236e2902abda772a2b5a49"></a><!-- doxytag: member="libdap::ResponseTooBigErr::print" ref="f2185ebeb4236e2902abda772a2b5a49" args="(FILE *out) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Error::print           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>out</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a printable representation of the <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object. It is suitable for framing, and also for printing and sending over a network.<p>
The printed representation produced by this function can be parsed by the <a class="el" href="classlibdap_1_1Error.html#c705b3c1cfab1f7530d66a974eb0e8b6" title="Parse an Error object.">parse()</a> member function. Thus parse and print form a symmetrical pair that can be used to send and receive an <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object over the network in a MIME document.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>out</em>&nbsp;</td><td>A pointer to the output stream on which the <a class="el" href="classlibdap_1_1Error.html" title="A class for error processing.">Error</a> object is to be rendered. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Error_8cc_source.html#l00201">201</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>, and <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>.</p>

<p>Referenced by <a class="el" href="AlarmHandler_8h_source.html#l00096">libdap::AlarmHandler::handle_signal()</a>.</p>

<p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
<p><center><img src="classlibdap_1_1Error_f2185ebeb4236e2902abda772a2b5a49_cgraph.png" border="0" usemap="#classlibdap_1_1Error_f2185ebeb4236e2902abda772a2b5a49_cgraph_map" alt=""></center>
<map name="classlibdap_1_1Error_f2185ebeb4236e2902abda772a2b5a49_cgraph_map">
<area shape="rect" id="node3" href="classlibdap_1_1Error.html#5624b1cca8a752a24d76a50e092fd61e" title="Is the Error object valid?" alt="" coords="275,5,467,32"></map>
</div>

</div>
</div><p>
<a class="anchor" name="47c0f4b6a38d8ca075d1056076d2845d"></a><!-- doxytag: member="libdap::ResponseTooBigErr::set_error_code" ref="47c0f4b6a38d8ca075d1056076d2845d" args="(ErrorCode ec=undefined_error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Error::set_error_code           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacelibdap.html#4d08204a35e99e555cda79022648362f">ErrorCode</a>&nbsp;</td>
          <td class="paramname"> <em>ec</em> = <code>undefined_error</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the ErrorCode. If the current error message has not been set, use <em>ec</em> to set the error message. The resulting error message string is the same as the ErrorCode name. If <em>ec</em> is not within the range of values for an OPeNDAP ErrorCode, the error message is left unchanged.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>The new ErrorCode value. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="Error_8cc_source.html#l00263">263</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00093">libdap::Error::_error_code</a>, <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>, <a class="el" href="Error_8h_source.html#l00066">cannot_read_file</a>, and <a class="el" href="Error_8h_source.html#l00059">undefined_error</a>.</p>

</div>
</div><p>
<a class="anchor" name="f48fc071e737b88925dfd0bff8995304"></a><!-- doxytag: member="libdap::ResponseTooBigErr::set_error_message" ref="f48fc071e737b88925dfd0bff8995304" args="(string msg=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void libdap::Error::set_error_message           </td>
          <td>(</td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>msg</em> = <code>&quot;&quot;</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the error message. 
<p>Definition at line <a class="el" href="Error_8cc_source.html#l00288">288</a> of file <a class="el" href="Error_8cc_source.html">Error.cc</a>.</p>

<p>References <a class="el" href="Error_8h_source.html#l00094">libdap::Error::_error_message</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="30226017ae9dfbe2e27be502b4fbdef4"></a><!-- doxytag: member="libdap::ResponseTooBigErr::_error_code" ref="30226017ae9dfbe2e27be502b4fbdef4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacelibdap.html#4d08204a35e99e555cda79022648362f">ErrorCode</a> <a class="el" href="classlibdap_1_1Error.html#30226017ae9dfbe2e27be502b4fbdef4">libdap::Error::_error_code</a><code> [protected, inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Error_8h_source.html#l00093">93</a> of file <a class="el" href="Error_8h_source.html">Error.h</a>.</p>

<p>Referenced by <a class="el" href="Error_8cc_source.html#l00250">libdap::Error::get_error_code()</a>, <a class="el" href="InternalErr_8cc_source.html#l00052">libdap::InternalErr::InternalErr()</a>, <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>, <a class="el" href="Error_8cc_source.html#l00113">libdap::Error::operator=()</a>, <a class="el" href="Error_8cc_source.html#l00201">libdap::Error::print()</a>, <a class="el" href="ResponseTooBigErr_8cc_source.html#l00039">ResponseTooBigErr()</a>, <a class="el" href="Error_8cc_source.html#l00263">libdap::Error::set_error_code()</a>, and <a class="el" href="SignalHandlerRegisteredErr_8h_source.html#l00047">libdap::SignalHandlerRegisteredErr::SignalHandlerRegisteredErr()</a>.</p>

</div>
</div><p>
<a class="anchor" name="86b1ed1e500e2ad6bbcfdd046b870728"></a><!-- doxytag: member="libdap::ResponseTooBigErr::_error_message" ref="86b1ed1e500e2ad6bbcfdd046b870728" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classlibdap_1_1Error.html#86b1ed1e500e2ad6bbcfdd046b870728">libdap::Error::_error_message</a><code> [protected, inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="Error_8h_source.html#l00094">94</a> of file <a class="el" href="Error_8h_source.html">Error.h</a>.</p>

<p>Referenced by <a class="el" href="Error_8cc_source.html#l00279">libdap::Error::get_error_message()</a>, <a class="el" href="InternalErr_8cc_source.html#l00057">libdap::InternalErr::InternalErr()</a>, <a class="el" href="Error_8cc_source.html#l00136">libdap::Error::OK()</a>, <a class="el" href="Error_8cc_source.html#l00113">libdap::Error::operator=()</a>, <a class="el" href="Error_8cc_source.html#l00201">libdap::Error::print()</a>, <a class="el" href="ResponseTooBigErr_8cc_source.html#l00044">ResponseTooBigErr()</a>, <a class="el" href="Error_8cc_source.html#l00263">libdap::Error::set_error_code()</a>, <a class="el" href="Error_8cc_source.html#l00288">libdap::Error::set_error_message()</a>, and <a class="el" href="SignalHandlerRegisteredErr_8h_source.html#l00047">libdap::SignalHandlerRegisteredErr::SignalHandlerRegisteredErr()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ResponseTooBigErr_8h_source.html">ResponseTooBigErr.h</a><li><a class="el" href="ResponseTooBigErr_8cc_source.html">ResponseTooBigErr.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 19:59:58 2009 for libdap++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>