view Lib/IMPL/Web/NotFoundException.pm @ 321:3dc9260017ad

Added JSON support for the request action
author cin
date Mon, 20 May 2013 01:14:27 +0400
parents 52aae1b85084
children
line wrap: on
line source

package IMPL::Web::NotFoundException;
use strict;

use IMPL::declare {
	base => {
        'IMPL::Web::Exception' => '@_'	
    },
};

use IMPL::Resources::Strings {
    message => 'The specified resource isn\'t found.'
};

sub status {
	"404 Not found"
}

1;

__END__

=pod

=head1 NAME

C<IMPL::Web::NotFoundException> Исключение для несущесьвующего ресурса.

=cut