function __construct($viewFile) { $message = sprintf('View or element "%s" does not exist', $viewFile); parent::__construct($message); }
public function __construct($filename) { return parent::__construct(sprintf('View template file "%s" could not be found', $filename)); }
public function __construct($url, $message = 'Not found', $actionerrordisplay = '') { parent::__construct($url, $message, 'not_found', 404, $actionerrordisplay); }