/**
  * @desc Returns string representation of throwable
  * 
  * @return array 
  */
 public function getStringRepresentation()
 {
     if (!is_array($this->throwableArray)) {
         $renderer = Payone_Log4php_Logger::getHierarchy()->getRendererMap()->getByClassName(get_class($this->throwable));
         // TODO: why this?
         if ($renderer instanceof Payone_Log4php_LoggerRendererDefault) {
             $renderer = new Payone_Log4php_LoggerRendererException();
         }
         $this->throwableArray = explode("\n", $renderer->render($this->throwable));
     }
     return $this->throwableArray;
 }
 /**
  * Render message.
  * @return string
  */
 public function getRenderedMessage()
 {
     if ($this->renderedMessage === null and $this->message !== null) {
         if (is_string($this->message)) {
             $this->renderedMessage = $this->message;
         } else {
             $rendererMap = Payone_Log4php_Logger::getHierarchy()->getRendererMap();
             $this->renderedMessage = $rendererMap->findAndRender($this->message);
         }
     }
     return $this->renderedMessage;
 }