diff Lib/IMPL/Web/View/TTLoader.pm @ 285:546957c50a36

*IMPL::Web::Handler::TTView Reworked template selection mechanism *IMPL::Web::Application: refactoring -Removed obsolete IMPL::Text modules
author cin
date Mon, 18 Feb 2013 02:55:59 +0400
parents 6b6d4b2275a1
children 2d253e6e4a88
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTLoader.pm	Thu Feb 14 19:14:02 2013 +0400
+++ b/Lib/IMPL/Web/View/TTLoader.pm	Mon Feb 18 02:55:59 2013 +0400
@@ -95,7 +95,7 @@
     my ($tt,$error) = $this->provider->fetch($name);
     
     if (defined $error and $error == STATUS_DECLINED) {
-        die KeyNotFoundException->($name);
+        die KeyNotFoundException->new($name);
     } elsif (defined $error and $error == STATUS_ERROR) {
         die Exception->new("Failed to load a template", $name, $tt);
     }