Mercurial > pub > Impl
annotate Lib/IMPL/Web/NotAcceptableException.pm @ 229:47f77e6409f7
heavily reworked the resource model of the web application:
*some ResourcesContraact functionality moved to Resource
+Added CustomResource
*Corrected action handlers
| author | sergey |
|---|---|
| date | Sat, 29 Sep 2012 02:34:47 +0400 |
| parents | c8fe3f84feba |
| children |
| rev | line source |
|---|---|
| 206 | 1 package IMPL::Web::NotAcceptableException; |
| 2 use strict; | |
| 3 | |
| 4 use IMPL::declare { | |
| 5 base => { | |
| 6 'IMPL::Web::Exception' => '@_' | |
| 7 } | |
| 8 }; | |
| 9 | |
|
229
47f77e6409f7
heavily reworked the resource model of the web application:
sergey
parents:
206
diff
changeset
|
10 sub status { |
|
47f77e6409f7
heavily reworked the resource model of the web application:
sergey
parents:
206
diff
changeset
|
11 "406 Not acceptable" |
| 206 | 12 } |
| 13 | |
| 14 1; | |
| 15 | |
| 16 __END__ | |
| 17 | |
| 18 =pod | |
| 19 | |
| 20 =head1 NAME | |
| 21 | |
| 22 C<IMPL::Web::NotAcceptableException> Исключение в случае, если запрошенный ресурс не может | |
| 23 быть выдан в указанном виде. | |
| 24 | |
| 25 =cut |
