comparison 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
comparison
equal deleted inserted replaced
126:c8dfbbdd8005 127:0dce0470a3d8
116 our @ISA = qw(IMPL::Exception); 116 our @ISA = qw(IMPL::Exception);
117 our %CTOR = ( 117 our %CTOR = (
118 'IMPL::Exception' => sub { @_ ? @_ : "The method is deprecated" } 118 'IMPL::Exception' => sub { @_ ? @_ : "The method is deprecated" }
119 ); 119 );
120 120
121 package IMPL::WrongDataException;
122 our @ISA = qw(IMPL::Exception);
123 our %CTOR = (
124 'IMPL::Exception' => sub { "The input data is wrong", @_ }
125 );
126
121 1; 127 1;