php-doc-en/reference/mongo/mongocursorexception.xml
Kristina Chodorow 01a52259d9 fleshing out descriptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291045 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 23:17:53 +00:00

126 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xml:id="class.mongocursorexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoCursorException class</title>
<titleabbrev>MongoCursorException</titleabbrev>
<partintro>
<!-- {{{ MongoCursorException intro -->
<section xml:id="mongocursorexception.intro">
&reftitle.intro;
<para>
Caused by accessing a cursor incorrectly or a error receiving a reply.
</para>
<para>
If there is an error receiving a reply, there will be a more
specific error message to help diagnose the problem:
</para>
<itemizedlist>
<listitem>
<para>
<literal>could not establish db connection</literal>
</para>
<para>
A database reply could not be recieved because a connection
with the database could not be established.
</para>
</listitem>
<listitem>
<para>
<literal>no db response</literal>
</para>
<para>
This may not even be an error, for example, the database
command "shutdown" returns no response. However, if you
were expecting a response, this means the database didn't
give one.
</para>
</listitem>
<listitem>
<para>
<literal>bad response length: %d, max: %d, did the db assert?</literal>
</para>
<para>
This means that the database said that its response was
greater than 4Mb or less than 0. Generally, a number
greater than 5Mb should be reported to the developers as a
potential database bug (max response length is 4Mb). A
response of less than 0 often means a database assertion
occured.
</para>
</listitem>
<listitem>
<para>
<literal>incomplete response</literal>
</para>
<para>
Occurs if the database response started out correctly, but broke off in
the middle.
</para>
</listitem>
<listitem>
<para>
<literal>error getting database response: errstr</literal>
</para>
<para>
<literal>WSA error getting database response: errstr</literal>
</para>
<para>
"errstr" is an io error reported directly from the C socket
subsystem. On Windows, the error message is prefixed with "WSA".
</para>
</listitem>
</itemizedlist>
</section>
<!-- }}} -->
<section xml:id="mongocursorexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoCursorException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<modifier>extends</modifier>
<classname>MongoException</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->