diff Lib/IMPL/Web/UnauthorizedException.pm @ 241:f48a1a9f4fa2

+Added ViewResult to allow implementation of the view environment. *TTDocuments now storing creation parameters *TTControls automatically propagating layout and title meta to their attributes +Added UnauthorizaedException web exception *minor fixes
author sergey
date Thu, 18 Oct 2012 04:49:55 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Lib/IMPL/Web/UnauthorizedException.pm	Thu Oct 18 04:49:55 2012 +0400
@@ -0,0 +1,24 @@
+package IMPL::Web::UnauthorizedException;
+use strict;
+
+use IMPL::declare {
+	base => {
+		'IMPL::Web::Exception' => '@_'
+	}
+};
+
+sub status {
+	"401 Unauthorized"
+}
+
+1;
+
+__END__
+
+=pod
+
+=head1 NAME
+
+C<IMPL::Web::UnauthorizedException> - запрос требует идентификации пользователя.
+
+=cut
\ No newline at end of file