<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.com.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'com.error-handling.php',
    1 => 'Errors and error handling',
    2 => 'Errors and error handling',
  ),
  'up' => 
  array (
    0 => 'book.com.php',
    1 => 'COM',
  ),
  'prev' => 
  array (
    0 => 'com.constants.php',
    1 => '预定义常量',
  ),
  'next' => 
  array (
    0 => 'com.examples.php',
    1 => '示例',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/com/error-handling.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="com.error-handling" class="chapter">
 <h1 class="title">Errors and error handling</h1>


 <p class="para">
  This extension will throw instances of the class <span class="classname"><a href="class.com-exception.php" class="classname">com_exception</a></span>
  whenever there is a potentially fatal error reported by COM.  All
  COM exceptions have a well-defined <code class="literal">code</code> 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.
 </p>

</div>
<?php manual_footer($setup); ?>