Exception.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Deserializer/String.pm ↑ Summary Serializer.pm »
1 package Hessian::Exception;
2  
3 45 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 45 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 45 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
7 45 'Hessian::Exception',
8 'StandardHessian::X' => {
9 isa => 'Hessian::Exception',
10 description => 'Set of exceptions defined by the official Hessian'
11 . ' protocol.'
12 },
13 'Implementation::X' => {
14 isa => 'Hessian::Exception',
15 description => 'Exceptions defined for internal use.'
16 },
17 'ProtocolException' => {
18 isa => 'StandardHessian::X',
19 description => 'The Hessian request has some sort of syntactic error'
20 },
21 'InputOutput::X' => {
22 isa => 'Implementation::X',
23 description => 'Unable to read/write to a file or string handle.'
24 },
25 'Parameter::X' => {
26 isa => 'Implementation::X',
27 description => 'Incorrect or missing parameter to method'
28 },
29 'NoSuchObjectException' => {
30 isa => 'StandardHessian::X',
31 description => 'The requested object does not exist.'
32 },
33 'NoSuchMethodException' => {
34 isa => 'StandardHessian::X',
35 description => 'The requested method does not exists.'
36 },
37 'RequireHeaderException' => {
38 isa => 'StandardHessian::X',
39 description => 'A required header was '
40 . 'not understood by the server.'
41 },
42 'ServiceException' => {
43 isa => 'StandardHessian::X',
44 description => 'The called method threw an exception.'
45 },
46 'EndOfInput::X' => {
47 isa => 'Implementation::X',
48 description => 'Not an error. Should interrupt loop processing.'
49 },
50 'MessageIncomplete::X' => {
51 isa => 'Implementation::X',
52 description => 'The serialized message string '
53 . 'did not contain a complete message'
54 }
55 45 );
56  
57 45 "one, but we're not the same";
58  
59 __END__
« Deserializer/String.pm ↑ Summary Serializer.pm »