Mercurial > pub > Impl
diff Lib/IMPL/Exception.pm @ 197:6b1dda998839
Added IMPL::declare, IMPL::require, to simplify module definitions
IMPL::Transform now admires object inheritance while searching for the transformation
Added HTTP some exceptions
IMPL::Web::Application::RestResource almost implemented
author | sergey |
---|---|
date | Thu, 19 Apr 2012 02:10:02 +0400 |
parents | 4d0e1962161c |
children | c8fe3f84feba |
line wrap: on
line diff
--- a/Lib/IMPL/Exception.pm Mon Apr 16 17:42:54 2012 +0400 +++ b/Lib/IMPL/Exception.pm Thu Apr 19 02:10:02 2012 +0400 @@ -90,7 +90,9 @@ package IMPL::InvalidArgumentException; our @ISA = qw(IMPL::Exception); -__PACKAGE__->PassThroughArgs; +our %CTOR = ( + 'IMPL::Exception' => sub { "An invalid argument", @_ } +); package IMPL::DuplicateException; our @ISA = qw(IMPL::Exception);