public function getSummary()
    {
        ob_start();

        printf(
            "%s in file '%s' line %s",
            $this->class,
            $this->getFile(),
            $this->getLine()
        );

        if ($this->wasHandled()) {
            echo ' Exception was handled';
        }

        return ob_get_clean();
    }