public function getTrace($trace = array())
    {
        $traceMessage = '';
        foreach ($trace as $t) {
            $traceMessage .= sprintf('  at %s line %s', $t['file'], $t['line']) . "\n";
        }

        return $traceMessage;
    }