diff Lib/IMPL/Exception.pm @ 127:0dce0470a3d8

In the IMPL::Web::ControllerUnit added the ability to notify a form about a wrong data from a transaction added a relativeUrl function for a usage from a templates IMPL::Web::TT::Form now fully functional
author wizard
date Fri, 11 Jun 2010 20:21:07 +0400
parents 964587c5183c
children 3df87ee58bee
line wrap: on
line diff
--- a/Lib/IMPL/Exception.pm	Fri Jun 11 04:29:51 2010 +0400
+++ b/Lib/IMPL/Exception.pm	Fri Jun 11 20:21:07 2010 +0400
@@ -118,4 +118,10 @@
     'IMPL::Exception' => sub { @_ ? @_ : "The method is deprecated" }
 );
 
+package IMPL::WrongDataException;
+our @ISA = qw(IMPL::Exception);
+our %CTOR = (
+    'IMPL::Exception' => sub { "The input data is wrong", @_ }
+);
+
 1;