two typos

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166967 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Antony Dovgal 2004-08-21 18:41:46 +00:00
parent 599fba0d5f
commit 6f8d6bea11

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<sect1 id="language.oop5.exceptions">
<title>Exceptions</title>
@ -26,7 +26,7 @@ try {
$error = 'Always throw this error';
throw new Exception($error);
// code following an execption isn't executed.
// code following an exception isn't executed.
echo 'Never executed';
}
catch (Exception $e) {
@ -39,7 +39,7 @@ catch (Exception $e) {
</programlisting>
</example>
<sect2 id="language.oop5.execptions.extending">
<sect2 id="language.oop5.exceptions.extending">
<title>Extending Exceptions</title>
<para>
A User defined Exception class can be defined by extending the built-in