JOAP/Proxy/Error.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 91.3% 21 / 23 CC 1 SCAR 0.5
CC
1
Cov
88%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« JOAP/Proxy.pm ↑ Summary JOAP/Proxy/Package.pm »
1 # JOAP/Proxy/Error.pm - base class for JOAP proxy errors
2 #
3 # Copyright (c) 2003, Evan Prodromou evan@prodromou.san-francisco.ca.us.
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  
19 # tag: JOAP proxy error classes
20  
21 package JOAP::Proxy::Error;
22  
23 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 1 ▶use Error;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 1 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
28 0 ▶use JOAP;
Subroutine BEGIN: called CC=1 SCAR=2.6
29 use base qw/Error::Simple/;
30  
31 our $VERSION = $JOAP::VERSION;
32  
33 package JOAP::Proxy::Error::Local;
34  
35 use 5.008;
36 use strict;
37 use warnings;
38 use JOAP;
39 use JOAP::Proxy::Error;
40 use base qw/JOAP::Proxy::Error/;
41  
42 our $VERSION = $JOAP::VERSION;
43  
44 package JOAP::Proxy::Error::Remote;
45  
46 use 5.008;
47 use strict;
48 use warnings;
49 use JOAP;
50 use JOAP::Proxy::Error;
51 use base qw/JOAP::Proxy::Error/;
52  
53 our $VERSION = $JOAP::VERSION;
54  
55 package JOAP::Proxy::Error::Fault;
56  
57 use 5.008;
58 use strict;
59 use warnings;
60 use JOAP;
61 use JOAP::Proxy::Error;
62 use base qw/JOAP::Proxy::Error/;
63  
64 our $VERSION = $JOAP::VERSION;
65  
66 1;
67  
68 __END__
« JOAP/Proxy.pm ↑ Summary JOAP/Proxy/Package.pm »