protected function getTextMessage($exception)
	{
	    $message = 'Application Exception' . PHP_EOL;
	    $message .= static::getItemTextMessage($exception);
	    while ($exception= $exception->getPrevious()) {
	        $message .= PHP_EOL . 'Previous exception:' . PHP_EOL;
	        $message .= static::getItemTextMessage($exception);
	    }
	    return $message;
	}