cvs: pear-core /PEAR Exception.php
| From: | Tomas V.V.Cox | Date: | Sat, 03 Jul 2004 12:08:16 +0000 |
| Subject: | cvs: pear-core /PEAR Exception.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21457@lists.php.net to get a copy of this message | ||
cox Sat Jul 3 08:08:16 2004 EDT
Modified files:
/pear-core/PEAR Exception.php
Log:
Have the correct class'->'method sepparator
http://cvs.php.net/diff.php/pear-core/PEAR/Exception.php?r1=1.4&r2=1.5&ty=u
Index: pear-core/PEAR/Exception.php
diff -u pear-core/PEAR/Exception.php:1.4 pear-core/PEAR/Exception.php:1.5
--- pear-core/PEAR/Exception.php:1.4 Mon Jun 21 00:36:17 2004
+++ pear-core/PEAR/Exception.php Sat Jul 3 08:08:15 2004
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Exception.php,v 1.4 2004/06/21 04:36:17 cox Exp $
+// $Id: Exception.php,v 1.5 2004/07/03 12:08:15 cox Exp $
define('PEAR_OBSERVER_PRINT', -2);
define('PEAR_OBSERVER_TRIGGER', -4);
@@ -85,7 +85,7 @@
*
* @since PHP 5
* @package PEAR
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @author Tomas V.V.Cox <cox@idecnet.com>
* @author Hans Lellelid <hans@velum.net>
*
@@ -122,7 +122,7 @@
$trace = parent::getTrace();
$this->error_class = $trace[0]['class'];
$this->error_method = $trace[0]['function'];
- $this->_method = $this->error_class . '::' . $this->error_method .
'()';
+ $this->_method = $this->error_class . $trace[0]['type'] .
$this->error_method . '()';
parent::__construct($message, $code);
$this->_signal();