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