line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Exception::4XX; |
2
|
|
|
|
|
|
|
$HTTP::Exception::4XX::VERSION = '0.04007'; |
3
|
27
|
|
|
27
|
|
817
|
use strict; |
|
27
|
|
|
|
|
36
|
|
|
27
|
|
|
|
|
532
|
|
4
|
27
|
|
|
27
|
|
88
|
use warnings; |
|
27
|
|
|
|
|
37
|
|
|
27
|
|
|
|
|
474
|
|
5
|
27
|
|
|
27
|
|
87
|
use base 'HTTP::Exception::Base'; |
|
27
|
|
|
|
|
37
|
|
|
27
|
|
|
|
|
4181
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub is_info () { '' } |
8
|
|
|
|
|
|
|
sub is_success () { '' } |
9
|
|
|
|
|
|
|
sub is_redirect () { '' } |
10
|
|
|
|
|
|
|
sub is_error () { 1 } |
11
|
|
|
|
|
|
|
sub is_client_error () { 1 } |
12
|
|
|
|
|
|
|
sub is_server_error () { '' } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
HTTP::Exception::4XX - Base Class for 4XX (client error) Exceptions |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 VERSION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
version 0.04007 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 SYNOPSIS |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
nothing here yet |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This package is the base class for all 4XX (client error) Exceptions. |
32
|
|
|
|
|
|
|
This makes adding features for a range of exceptions easier. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
DON'T USE THIS PACKAGE DIRECTLY. 'use HTTP::Exception' does this for you. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 ADDITIONAL FIELDS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Fields, that 4XX-Exceptions provide over HTTP::Exceptions. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Thomas Mueller, C<< >> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 BUGS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Please report any bugs or feature requests to |
47
|
|
|
|
|
|
|
C, or through the web interface at |
48
|
|
|
|
|
|
|
L. |
49
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on |
50
|
|
|
|
|
|
|
your bug as I make changes. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 SUPPORT |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
perldoc HTTP::Exception::Base |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
You can also look for information at: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=over 4 |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
L |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=item * CPAN Ratings |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=item * Search CPAN |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
L |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=back |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Copyright 2010 Thomas Mueller. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
85
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
86
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |