Exception/Loader.pm

filter: Statementstmt 87.7% 499 / 569 Branchbran 52.0% 78 / 150 Conditioncond 33.8% 72 / 213 MC/DCmcdc 0.7% 1 / 142 Subroutinesub 100% 156 / 156 Podpod 0.0% 0 / 71 totaltotal 61.9% 806 / 1301 CC 150 SCAR 8.8
CC
150
Cov
70%
import
5.0
_make_exceptions
4.5
caught
3.3
CRAP 2.4
↑ Summary Exception/Base.pm »
1 package HTTP::Exception::Loader;
2 27 $HTTP::Exception::Loader::VERSION = '0.04007';
3 28 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 28 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 28 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 28 ▶use HTTP::Exception::Base;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 28 ▶use HTTP::Exception::1XX;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 28 ▶use HTTP::Exception::2XX;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 28 ▶use HTTP::Exception::3XX;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 28 ▶use HTTP::Exception::4XX;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 28 ▶use HTTP::Exception::5XX;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 28 ▶use HTTP::Status;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 ################################################################################
16 # little bit messy, but solid
17 # - first create packages for Exception::Class, so it can create them on its own
18 # - then extend those packages by putting methods into the same namespace
19 28 ▶sub _make_exceptions {
Subroutine _make_exceptions: called CC=4 SCAR=15.1
20 28 my %tags = @_;
21 28 my (@http_statuses, @exception_classes);
22 {
23 28 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
24 28 @http_statuses = grep { /^HTTP_/ } (keys %{"HTTP::Status::"});
25 }
26  
27 28 my $code = '';
28 28 for my $http_status (@http_statuses) {
29 1988 my $statuscode = HTTP::Status->$http_status;
30 1988 my $http_status_message = HTTP::Status::status_message($statuscode);
31 1988 my $statuscode_range = $statuscode;
32  
33 # remove HTTP_ for exception classname
34 1988 $http_status =~ s/^HTTP_//;
35 # replace the last 2 digits with XX for basename creation
36 1988 $statuscode_range =~ s/\d{2}$/XX/;
37  
38 # only create requested classes
39 1988 ▶ next unless (exists $tags{$statuscode_range});
Branch: 1 branch
BranchTrueFalseTotal
unless exists $tags{$statuscode_range} 476 1512 1988
40  
41 1512 my $package_name_code = 'HTTP::Exception::'.$statuscode;
42 1512 my $package_name_base = 'HTTP::Exception::'.$statuscode_range;
43 1512 my $package_name_message = 'HTTP::Exception::'.$http_status;
44  
45 # create a Package like HTTP::Exception::404,
46 # but also a Package HTTP::Exception::NOT_FOUND,
47 # which inherits from HTTP::Exception::404
48 # HTTP::Exception::404 inherits from HTTP::Exception::4XX
49 1512 push @exception_classes,
50 $package_name_code => {isa => $package_name_base},
51 $package_name_message => {isa => $package_name_code};
52  
53 # TODO check whether evaled subs with a ()-prototype are compiled to constants
54 1512 $code .= qq~
55  
56 package $package_name_code;
57 sub code () { $statuscode }
58 sub _status_message () { q{$http_status_message} }
59  
60 package $package_name_message;
61 use Scalar::Util qw(blessed);
62 sub caught {
63 my \$self = shift;
64 my \$e = \$@;
65 return \$e if (blessed \$e && \$e->isa('$package_name_code'));
66 \$self->SUPER::caught(\@_);
67 }
68  
69 ~;
70 }
71  
72 # RT https://rt.cpan.org/Ticket/Display.html?id=79021
73 # silence warnings about "subroutine redefined" in a mod_perl environment
74 {
75 28 ▶ no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.0
76 0 ▶ eval $code;
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine BEGIN: called CC=1 SCAR=0.4
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Subroutine caught: called CC=3 SCAR=12.0
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Pod undocumented
Branch: 71 branches
BranchTrueFalseTotal
if builtin::blessed($e) and $e->isa("HTTP::Exception::308") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::416") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::414") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::431") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::401") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::102") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::100") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::304") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::500") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::422") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::415") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::408") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::510") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::425") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::206") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::413") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::300") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::507") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::404") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::405") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::103") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::400") 2 0 2
if builtin::blessed($e) and $e->isa("HTTP::Exception::406") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::207") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::307") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::423") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::425") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::503") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::201") 8 0 8
if builtin::blessed($e) and $e->isa("HTTP::Exception::226") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::428") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::305") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::429") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::421") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::506") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::449") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::414") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::402") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::407") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::205") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::413") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::501") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::204") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::417") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::208") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::509") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::426") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::302") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::413") 1 3 4
if builtin::blessed($e) and $e->isa("HTTP::Exception::422") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::412") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::303") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::301") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::508") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::410") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::511") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::411") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::200") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::424") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::502") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::202") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::425") 4 0 4
if builtin::blessed($e) and $e->isa("HTTP::Exception::101") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::504") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::203") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::403") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::409") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::418") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::416") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::505") 1 0 1
if builtin::blessed($e) and $e->isa("HTTP::Exception::451") 1 0 1
Condition33%72/213
builtin::blessed($e) and $e->isa("HTTP::Exception::308")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::416")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::414")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::431")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::401")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::102")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::100")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::304")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::500")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::422")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::415")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::408")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::510")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::425")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::206")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::413")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::300")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::507")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::404")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::405")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::103")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::400")
!ll&&!rl&&r
002
builtin::blessed($e) and $e->isa("HTTP::Exception::406")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::207")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::307")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::423")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::425")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::503")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::201")
!ll&&!rl&&r
008
builtin::blessed($e) and $e->isa("HTTP::Exception::226")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::428")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::305")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::429")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::421")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::506")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::449")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::414")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::402")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::407")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::205")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::413")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::501")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::204")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::417")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::208")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::509")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::426")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::302")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::413")
!ll&&!rl&&r
031
builtin::blessed($e) and $e->isa("HTTP::Exception::422")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::412")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::303")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::301")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::508")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::410")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::511")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::411")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::200")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::424")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::502")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::202")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::425")
!ll&&!rl&&r
004
builtin::blessed($e) and $e->isa("HTTP::Exception::101")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::504")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::203")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::403")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::409")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::418")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::416")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::505")
!ll&&!rl&&r
001
builtin::blessed($e) and $e->isa("HTTP::Exception::451")
!ll&&!rl&&r
001
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::308")
builtin::blessed($e) $e->isa("HTTP::Exception::308")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::416")
builtin::blessed($e) $e->isa("HTTP::Exception::416")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::414")
builtin::blessed($e) $e->isa("HTTP::Exception::414")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::431")
builtin::blessed($e) $e->isa("HTTP::Exception::431")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::401")
builtin::blessed($e) $e->isa("HTTP::Exception::401")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::102")
builtin::blessed($e) $e->isa("HTTP::Exception::102")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::100")
builtin::blessed($e) $e->isa("HTTP::Exception::100")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::304")
builtin::blessed($e) $e->isa("HTTP::Exception::304")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::500")
builtin::blessed($e) $e->isa("HTTP::Exception::500")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::422")
builtin::blessed($e) $e->isa("HTTP::Exception::422")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::415")
builtin::blessed($e) $e->isa("HTTP::Exception::415")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::408")
builtin::blessed($e) $e->isa("HTTP::Exception::408")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::510")
builtin::blessed($e) $e->isa("HTTP::Exception::510")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::425")
builtin::blessed($e) $e->isa("HTTP::Exception::425")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::206")
builtin::blessed($e) $e->isa("HTTP::Exception::206")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::413")
builtin::blessed($e) $e->isa("HTTP::Exception::413")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::300")
builtin::blessed($e) $e->isa("HTTP::Exception::300")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::507")
builtin::blessed($e) $e->isa("HTTP::Exception::507")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::404")
builtin::blessed($e) $e->isa("HTTP::Exception::404")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::405")
builtin::blessed($e) $e->isa("HTTP::Exception::405")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::103")
builtin::blessed($e) $e->isa("HTTP::Exception::103")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::400")
builtin::blessed($e) $e->isa("HTTP::Exception::400")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::406")
builtin::blessed($e) $e->isa("HTTP::Exception::406")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::207")
builtin::blessed($e) $e->isa("HTTP::Exception::207")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::307")
builtin::blessed($e) $e->isa("HTTP::Exception::307")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::423")
builtin::blessed($e) $e->isa("HTTP::Exception::423")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::425")
builtin::blessed($e) $e->isa("HTTP::Exception::425")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::503")
builtin::blessed($e) $e->isa("HTTP::Exception::503")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::201")
builtin::blessed($e) $e->isa("HTTP::Exception::201")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::226")
builtin::blessed($e) $e->isa("HTTP::Exception::226")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::428")
builtin::blessed($e) $e->isa("HTTP::Exception::428")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::305")
builtin::blessed($e) $e->isa("HTTP::Exception::305")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::429")
builtin::blessed($e) $e->isa("HTTP::Exception::429")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::421")
builtin::blessed($e) $e->isa("HTTP::Exception::421")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::506")
builtin::blessed($e) $e->isa("HTTP::Exception::506")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::449")
builtin::blessed($e) $e->isa("HTTP::Exception::449")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::414")
builtin::blessed($e) $e->isa("HTTP::Exception::414")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::402")
builtin::blessed($e) $e->isa("HTTP::Exception::402")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::407")
builtin::blessed($e) $e->isa("HTTP::Exception::407")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::205")
builtin::blessed($e) $e->isa("HTTP::Exception::205")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::413")
builtin::blessed($e) $e->isa("HTTP::Exception::413")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::501")
builtin::blessed($e) $e->isa("HTTP::Exception::501")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::204")
builtin::blessed($e) $e->isa("HTTP::Exception::204")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::417")
builtin::blessed($e) $e->isa("HTTP::Exception::417")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::208")
builtin::blessed($e) $e->isa("HTTP::Exception::208")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::509")
builtin::blessed($e) $e->isa("HTTP::Exception::509")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::426")
builtin::blessed($e) $e->isa("HTTP::Exception::426")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::302")
builtin::blessed($e) $e->isa("HTTP::Exception::302")
MC/DC50%1/2
builtin::blessed($e) and $e->isa("HTTP::Exception::413")
builtin::blessed($e) $e->isa("HTTP::Exception::413")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::422")
builtin::blessed($e) $e->isa("HTTP::Exception::422")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::412")
builtin::blessed($e) $e->isa("HTTP::Exception::412")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::303")
builtin::blessed($e) $e->isa("HTTP::Exception::303")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::301")
builtin::blessed($e) $e->isa("HTTP::Exception::301")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::508")
builtin::blessed($e) $e->isa("HTTP::Exception::508")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::410")
builtin::blessed($e) $e->isa("HTTP::Exception::410")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::511")
builtin::blessed($e) $e->isa("HTTP::Exception::511")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::411")
builtin::blessed($e) $e->isa("HTTP::Exception::411")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::200")
builtin::blessed($e) $e->isa("HTTP::Exception::200")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::424")
builtin::blessed($e) $e->isa("HTTP::Exception::424")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::502")
builtin::blessed($e) $e->isa("HTTP::Exception::502")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::202")
builtin::blessed($e) $e->isa("HTTP::Exception::202")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::425")
builtin::blessed($e) $e->isa("HTTP::Exception::425")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::101")
builtin::blessed($e) $e->isa("HTTP::Exception::101")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::504")
builtin::blessed($e) $e->isa("HTTP::Exception::504")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::203")
builtin::blessed($e) $e->isa("HTTP::Exception::203")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::403")
builtin::blessed($e) $e->isa("HTTP::Exception::403")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::409")
builtin::blessed($e) $e->isa("HTTP::Exception::409")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::418")
builtin::blessed($e) $e->isa("HTTP::Exception::418")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::416")
builtin::blessed($e) $e->isa("HTTP::Exception::416")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::505")
builtin::blessed($e) $e->isa("HTTP::Exception::505")
MC/DC0%0/2
builtin::blessed($e) and $e->isa("HTTP::Exception::451")
builtin::blessed($e) $e->isa("HTTP::Exception::451")
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::308")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::416")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::414")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::431")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::401")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::102")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::100")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::304")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::500")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::422")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::415")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::408")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::510")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::425")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::206")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::413")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::300")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::507")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::404")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::405")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::103")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::400")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::406")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::207")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::307")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::423")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::425")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::503")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::201")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::226")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::428")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::305")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::429")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::421")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::506")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::449")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::414")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::402")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::407")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::205")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::413")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::501")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::204")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::417")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::208")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::509")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::426")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::302")
ABresult
0X0
100
111
Truth table66%2/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::413")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::422")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::412")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::303")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::301")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::508")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::410")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::511")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::411")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::200")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::424")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::502")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::202")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::425")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::101")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::504")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::203")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::403")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::409")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::418")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::416")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::505")
ABresult
0X0
100
111
Truth table33%1/3
A and B
A= builtin::blessed($e)B= $e->isa("HTTP::Exception::451")
ABresult
0X0
100
111
77 28 ▶ die "HTTP::Exception::Loader error: $@\n$code\n" if $@;
Branch: 1 branch
BranchTrueFalseTotal
if $@ 0 28 28
78 }
79 28 return @exception_classes;
80 }
81  
82 ################################################################################
83 28 ▶sub import {
Subroutine import: called CC=5 SCAR=16.1
84 28 my ($class, @tags) = @_;
85 28 my %tags;
86  
87 28 ▶ if (@tags) {
Branch: 1 branch
BranchTrueFalseTotal
if (@tags) { } 11 17 28
88 11 my %known_tags = (
89 '1XX' => ['1XX'],
90 '2XX' => ['2XX'],
91 '3XX' => ['3XX'],
92 '4XX' => ['4XX'],
93 '5XX' => ['5XX'],
94 'REDIRECTION' => ['3XX'],
95 'CLIENT_ERROR' => ['4XX'],
96 'SERVER_ERROR' => ['5XX'],
97 'ERROR' => ['4XX', '5XX'],
98 'ALL' => [qw~1XX 2XX 3XX 4XX 5XX~],
99 );
100  
101 11 for my $import_tag (@tags) {
102 12 ▶ next unless ($known_tags{$import_tag});
Branch: 1 branch
BranchTrueFalseTotal
unless $known_tags{$import_tag} 0 12 12
103 12 $tags{$_} = undef for (@{ $known_tags{$import_tag} });
104 }
105 } else {
106 17 @tags{qw~1XX 2XX 3XX 4XX 5XX~} = ();
107 }
108  
109 28 require Exception::Class;
110 28 Exception::Class->import(
111 'HTTP::Exception' => { isa => 'HTTP::Exception::Base' },
112 _make_exceptions(%tags)
113 );
114 }
115  
116  
117 27 1;
118  
119  
120 =head1 NAME
121  
122 HTTP::Exception::Loader - Creates HTTP::Exception subclasses
123  
124 =head1 VERSION
125  
126 version 0.04007
127  
128 =head1 DESCRIPTION
129  
130 This Class Creates all L<HTTP::Exception> subclasses.
131  
132 DON'T USE THIS PACKAGE DIRECTLY. 'use HTTP::Exception' does this for you.
133 This Package does its job as soon as you call 'use HTTP::Exception'.
134  
135 Please refer to the Documentation of L<HTTP::Exception/"NAMING SCHEME">.
136 The Naming Scheme of all subclasses created, as well as the caveats can
137 be found there.
138  
139 =head1 AUTHOR
140  
141 Thomas Mueller, C<< <tmueller at cpan.org> >>
142  
143 =head1 BUGS
144  
145 Please report any bugs or feature requests to
146 C<bug-http-exception at rt.cpan.org>, or through the web interface at
147 L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTTP-Exception>.
148 I will be notified, and then you'll automatically be notified of progress on
149 your bug as I make changes.
150  
151 =head1 SUPPORT
152  
153 You can find documentation for this module with the perldoc command.
154  
155 perldoc HTTP::Exception::Base
156  
157 You can also look for information at:
158  
159 =over 4
160  
161 =item * RT: CPAN's request tracker
162  
163 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-Exception>
164  
165 =item * AnnoCPAN: Annotated CPAN documentation
166  
167 L<http://annocpan.org/dist/HTTP-Exception>
168  
169 =item * CPAN Ratings
170  
171 L<http://cpanratings.perl.org/d/HTTP-Exception>
172  
173 =item * Search CPAN
174  
175 L<https://metacpan.org/release/HTTP-Exception>
176  
177 =back
178  
179 =head1 LICENSE AND COPYRIGHT
180  
181 Copyright 2010 Thomas Mueller.
182  
183 This program is free software; you can redistribute it and/or modify it
184 under the terms of either: the GNU General Public License as published
185 by the Free Software Foundation; or the Artistic License.
186  
187 See http://dev.perl.org/licenses/ for more information.
188  
189  
190 =cut
↑ Summary Exception/Base.pm »