<div id="exception">
  <h1>Exception</h1>
  <p><?php echo get_class($this->exception); ?></p>
  <h2>message of exception</h2>
  <p><?php echo $this->exception->getMessage(); ?></p>
  <h2>code of exception</h2>
  <p><?php echo $this->exception->getCode(); ?></p>
  <h2>source filename</h2>
  <pre><?php echo $this->exception->getFile(); ?></pre>
  <h2>source line</h2>
  <p><?php echo $this->exception->getLine(); ?></p>
  <h2>backtrace</h2>
  <pre><?php echo str_replace("\n", "<br />", $this->exception->getTraceAsString()); ?></pre>
</div>
