33 private $_previous =
null;
45 if (version_compare(PHP_VERSION,
'5.3.0',
'<')) {
46 parent::__construct($msg, (
int)
$code);
47 $this->_previous = $previous;
49 parent::__construct($msg, (
int)
$code, $previous);
64 if (
'getprevious' == strtolower(
$method)) {
77 if (version_compare(PHP_VERSION,
'5.3.0',
'<')) {
78 if (
null !== ($e = $this->getPrevious())) {
79 return $e->__toString()
81 . parent::__toString();
84 return parent::__toString();
94 return $this->_previous;
__call($method, array $args)
__construct($msg='', $code=0, Exception $previous=null)