File: error-handling.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (20 lines) | stat: -rw-r--r-- 740 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 283802 $ -->

<chapter xml:id="com.error-handling" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Errors and error handling</title>

 <!-- FIXME: this markup --> 
 <para>
  <emphasis>Exceptions (PHP 5)</emphasis>
 </para>
 <para>
  This extension will throw instances of the class <literal>com_exception</literal>
  whenever there is a potentially fatal error reported by COM.  All
  COM exceptions have a well-defined <literal>code</literal> property that
  corresponds to the HRESULT return value from the various COM operations.
  You may use this code to make programmatic decisions on how to handle the
  exception.
 </para>

</chapter>