Exception.class.php
463 Bytes
<?php
class Util_Db_Statement_Exception extends Util_Db_Exception
{
/**
* Check if this general exception has a specific database driver specific exception nested inside.
*
* @return bool
*/
public function hasChainedException()
{
return ($this->getPrevious() !== null);
}
/**
* @return Exception.class|null
*/
public function getChainedException()
{
return $this->getPrevious();
}
}