public static function getMoreInformationFromException(\Exception $e)
    {
        $default = 'No further information available.';
        if (!property_exists($e, 'additionalData')) {
            return $default;
        }
        if (!is_array($e->additionalData)) {
            return $default;
        }
        if (empty($e->additionalData)) {
            return $default;
        }
        $data = '<table>';
        foreach ($e->additionalData as $k => $v) {
            if (is_int($k) || is_string($k)) {
                $data .= '<tr>';
                $data .= '<td valign="top" class="cell-left width15p"><strong>' . $k . '</strong></td>';
                $data .= '<td valign="top" class="cell-right">';
                if (is_object($v)) {
                    $data .= '<xmp>' . serialize($v) . '</xmp>';
                } elseif (is_array($v)) {
                    $data .= '<xmp>' . json_encode($v) . '</xmp>';
                } else {
                    $data .= '<xmp>' . $v . '</xmp>';
                }
                $data .= '</td>';
                $data .= '</tr>';
            }
        }
        $data .= '</table>';

        return $data;
    }