Mercurial > pub > Impl
annotate lib/IMPL/Config/ServiceNotFoundException.pm @ 421:7798345304bc ref20150831
working on IMPL::Config, removed old stuff
| author | cin |
|---|---|
| date | Sun, 16 Jul 2017 22:59:39 +0300 |
| parents | cc2cf8c0edc2 |
| children |
| rev | line source |
|---|---|
| 416 | 1 package IMPL::Config::ServiceNotFoundException; |
| 2 use strict; | |
| 3 | |
| 4 use IMPL::declare { | |
| 5 base => [ | |
| 6 'IMPL::AppException' => undef | |
| 7 ], | |
| 8 props => [ | |
| 9 serviceName => 'ro', | |
| 10 ] | |
| 11 }; | |
| 12 | |
| 13 use IMPL::Resources::Strings { | |
| 14 message => "Service %serviceName% not found" | |
| 15 }; | |
| 16 | |
| 17 sub CTOR { | |
| 18 my ( $this, %args ) = @_; | |
| 19 | |
| 20 $this->$_( $args{$_} ) foreach grep exists $args{$_}, qw( | |
| 21 serviceName | |
| 22 ); | |
| 23 } | |
| 24 | |
| 25 1; |
