Mercurial > pub > Impl
comparison Lib/IMPL/TargetException.pm @ 266:89179bb8c388
*corrected TTView to handle plain (and undefined) values
*added URL generating methods to Application::Action
*fixed the compare validatior for schemas
| author | cin |
|---|---|
| date | Mon, 14 Jan 2013 03:10:06 +0400 |
| parents | |
| children | 68d905f8dc43 |
comparison
equal
deleted
inserted
replaced
| 265:6b6d4b2275a1 | 266:89179bb8c388 |
|---|---|
| 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 messageFormat => "An invocation target throws an exception '%innerException.message%' \n%innerException.callStack%\n__END_OF_INNER_EXCEPTION__\n" | |
| 22 }; | |
| 23 | |
| 24 1; |
