diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Lib/IMPL/TargetException.pm	Mon Jan 14 03:10:06 2013 +0400
@@ -0,0 +1,24 @@
+package IMPL::TargetException;
+use strict;
+
+use IMPL::Const qw(:prop);
+use IMPL::declare {
+    base => [
+        'IMPL::AppException' => undef,
+    ],
+    props => [
+        innerException => PROP_RO
+    ]
+};
+
+sub CTOR {
+    my ($this,%args) = @_;
+    
+    $this->innerException($args{innerException});
+}
+
+use IMPL::Resources::Strings {
+    messageFormat => "An invocation target throws an exception '%innerException.message%' \n%innerException.callStack%\n__END_OF_INNER_EXCEPTION__\n"
+};
+
+1;
\ No newline at end of file