code/exception/exception.php
public function getProperties($public = true)
	{
		JLog::add('JException::getProperties is deprecated.', JLog::WARNING, 'deprecated');

		$vars = get_object_vars($this);

		if ($public)
		{
			foreach ($vars as $key => $value)
			{
				if ('_' == substr($key, 0, 1))
				{
					unset($vars[$key]);
				}
			}
		}

		return $vars;
	}
public function getProperties($public = true)
	{
		JLog::add('JException::getProperties is deprecated.', JLog::WARNING, 'deprecated');

		$vars = get_object_vars($this);

		if ($public)
		{
			foreach ($vars as $key => $value)
			{
				if ('_' == substr($key, 0, 1))
				{
					unset($vars[$key]);
				}
			}
		}

		return $vars;
	}
public function getProperties ( $ public = true ) { JLog :: add ( 'JException::getProperties is deprecated.' , JLog :: WARNING , 'deprecated' ) ; $ vars = get_object_vars ( $ this ) ; if ( $ public ) { foreach ( $ vars as $ key => $ value ) { if ( '_' == substr ( $ key , 0 , 1 ) ) { unset ( $ vars [ $ key ] ) ; } } } return $ vars ; }
Returns an associative array of object properties

@param   boolean  $public  If true, returns only the public properties

@return  array  Object properties

@deprecated    12.1
@see     JException::get()
@since   11.1
Returns an associative array of object properties