comparison lib/IMPL/TargetException.pm @ 407:c6e90e02dd17 ref20150831

renamed Lib->lib
author cin
date Fri, 04 Sep 2015 19:40:23 +0300
parents
children
comparison
equal deleted inserted replaced
406:f23fcb19d3c1 407:c6e90e02dd17
1 package IMPL::TargetException;
2 use strict;
3
4 use IMPL::Const qw(:prop);
5 use IMPL::declare {
6 base => [
7 'IMPL::AppException' => undef,
8 ],
9 props => [
10 innerException => PROP_RO
11 ]
12 };
13
14 sub CTOR {
15 my ($this,%args) = @_;
16
17 $this->innerException($args{innerException});
18 }
19
20 use IMPL::Resources::Strings {
21 message => "An invocation target throws an exception '%innerException.message%' \n%innerException.callStack%\n__END_OF_INNER_EXCEPTION__\n"
22 };
23
24 1;