note 80111 added to language.exceptions

From: Date: Sun, 30 Dec 2007 02:44:52 +0000
Subject: note 80111 added to language.exceptions
Groups: php.notes 
Request: Send a blank email to php-notes+get-134272@lists.php.net to get a copy of this message
Note that PDO exceptions do not currently extend the base Exception class, and so will not be caught by: try { ... } catch(Exception $e) { ... } There are only two ways to handle PDO exceptions: by specifically catching PDOException, or by using an uncaught exception handler. ---- Server IP: 194.145.210.4 Probable Submitter: 78.150.162.4 ---- Manual Page -- http://www.php.net/manual/en/language.exceptions.php Edit -- https://master.php.net/note/edit/80111 Del: integrated -- https://master.php.net/note/delete/80111/integrated Del: useless -- https://master.php.net/note/delete/80111/useless Del: bad code -- https://master.php.net/note/delete/80111/bad+code Del: spam -- https://master.php.net/note/delete/80111/spam Del: non-english -- https://master.php.net/note/delete/80111/non-english Del: in docs -- https://master.php.net/note/delete/80111/in+docs Del: other reasons-- https://master.php.net/note/delete/80111 Reject -- https://master.php.net/note/reject/80111 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#134272) next »