line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Hessian::Exception; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
17
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
101
|
|
4
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
450
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Exception::Class ( |
7
|
3
|
|
|
|
|
65
|
'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
|
3
|
|
|
3
|
|
2528
|
); |
|
3
|
|
|
|
|
37826
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
"one, but we're not the same"; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
__END__ |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 NAME |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Hessian::Exception - Basic exceptions for the Hessian protocol. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 VERSION |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 SYNOPSIS |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 DESCRIPTION |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 INTERFACE |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|