diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Db/Adapter/Exception.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Db/Adapter/Exception.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,57 @@ +getCode(); + } + parent::__construct($message, $code, $e); + } + + public function hasChainedException() + { + return ($this->_previous !== null); + } + + public function getChainedException() + { + return $this->getPrevious(); + } + +}