framework/base/CErrorHandler.php
protected function getExactTrace($exception)
	{
		$traces=$exception->getTrace();

		foreach($traces as $trace)
		{
			// property access exception
			if(isset($trace['function']) && ($trace['function']==='__get' || $trace['function']==='__set'))
				return $trace;
		}
		return null;
	}
protected function getExactTrace($exception)
	{
		$traces=$exception->getTrace();

		foreach($traces as $trace)
		{
			// property access exception
			if(isset($trace['function']) && ($trace['function']==='__get' || $trace['function']==='__set'))
				return $trace;
		}
		return null;
	}
protected function getExactTrace ( $ exception ) { $ traces = $ exception -> getTrace ( ) ; foreach ( $ traces as $ trace ) { // property access exception if ( isset ( $ trace [ 'function' ] ) && ( $ trace [ 'function' ] === '__get' || $ trace [ 'function' ] === '__set' ) ) return $ trace ; } return null ; }
Returns the exact trace where the problem occurs.
@param Exception $exception the uncaught exception
@return array the exact trace where the problem occurs
Returns the exact trace where the problem occurs .