diff Lib/IMPL/Web/View/TTLoader.pm @ 205:891c04080658

IMPL::Web::View fixed template selection, release candidate
author sergey
date Thu, 03 May 2012 01:00:02 +0400
parents a705e848dcc7
children c8fe3f84feba
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTLoader.pm	Wed May 02 17:42:47 2012 +0400
+++ b/Lib/IMPL/Web/View/TTLoader.pm	Thu May 03 01:00:02 2012 +0400
@@ -85,7 +85,7 @@
     
     $name =~ s/^\s+|\s+$//g;
     
-    die new IMPL::ArgumentException("A valid template name is required") unless length $name;
+    die new IMPL::InvalidArgumentException("A valid template name is required") unless length $name;
     
     $name = $this->_appendExt($name);