X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ftemplate%2Fclass_BaseTemplateEngine.php;h=69b86079624860a2281e19fa35cebf38780e06b1;hp=68511ad143380df67820e706012fa5178d4a1edf;hb=6547e8921ac53f7d286906e9ff23e803f6e5ae84;hpb=b1683de32141e80fb17d5ff1a6f460186e22d961 diff --git a/inc/classes/main/template/class_BaseTemplateEngine.php b/inc/classes/main/template/class_BaseTemplateEngine.php index 68511ad1..69b86079 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -662,7 +662,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem { * @param $template The template we shall load * @param $extOther An other extension to use * @return void - * @throws FileIoException If the template was not found + * @throws FileNotFoundException If the template was not found */ protected function loadTemplate ($template, $extOther = '') { // Get extension for the template if empty @@ -712,7 +712,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem { $this->loadTemplate($template, $ext); } else { // Throw it again - throw new FileIoException($fqfn, self::EXCEPTION_FILE_NOT_FOUND); + throw new FileNotFoundException($fqfn, self::EXCEPTION_FILE_NOT_FOUND); } }