/**
  * @brief overload the template when needed
  * 
  * If the exception is extended from InfinitasExceptions there is a custom
  * template available for the exception it is set here
  * 
  * @param Exception $exception 
  */
 public function __construct(Exception $exception)
 {
     parent::__construct($exception);
     if ($exception instanceof InfinitasException) {
         $this->__changeTemplate(get_class($exception), $exception->plugin());
     }
 }
 /**
  * construct a new instance of this class
  *
  * @param Exception $exception the exception being thrown
  */
 public function __construct(Exception $exception)
 {
     parent::__construct($exception);
 }