diff Lib/IMPL/Exception.pm @ 181:47dac58691ee

New templating system, small fixes
author sourcer
date Thu, 26 Jan 2012 01:15:57 +0400
parents 76515373dac0
children 4d0e1962161c
line wrap: on
line diff
--- a/Lib/IMPL/Exception.pm	Fri Dec 30 23:40:00 2011 +0300
+++ b/Lib/IMPL/Exception.pm	Thu Jan 26 01:15:57 2012 +0400
@@ -96,6 +96,14 @@
 our @ISA = qw(IMPL::Exception);
 __PACKAGE__->PassThroughArgs;
 
+package IMPL::KeyNotFoundException;
+our @ISA = qw(IMPL::Exception);
+__PACKAGE__->PassThroughArgs;
+
+our %CTOR = (
+	'IMPL::Exception' => sub { "A specified element isn't found", $_[0] } 
+);
+
 package IMPL::NotImplementedException;
 our @ISA = qw(IMPL::Exception);
 __PACKAGE__->PassThroughArgs;