Mercurial > pub > Impl
annotate Lib/IMPL/Web/NotAcceptableException.pm @ 245:7c517134c42f
Added Unsupported media type Web exception
corrected resourceLocation setting in the resource
Implemented localizable resources for text messages
fixed TT view scopings, INIT block in controls now sets globals correctly.
author | sergey |
---|---|
date | Mon, 29 Oct 2012 03:15:22 +0400 |
parents | 47f77e6409f7 |
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 |