line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Thrift::Parser::Exceptions; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Thrift::Parser::Exceptions |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 DESCRIPTION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Subclass of L that provides various classes for different types of exceptions. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SUBCLASSES |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head2 Thrift::Parser::InvalidTypedValue |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head2 Thrift::Parser::InvalidArgument |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Has fields 'key' and 'value' |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head2 Thrift::Parser::InvalidSpec |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 Thrift::Parser::NotImplemented |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
6
|
|
|
6
|
|
39
|
use strict; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
219
|
|
26
|
6
|
|
|
6
|
|
38
|
use warnings; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
410
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
use Exception::Class ( |
29
|
6
|
|
|
|
|
85
|
'Thrift::Parser::Exception', |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
'Thrift::Parser::InvalidTypedValue' => { |
32
|
|
|
|
|
|
|
isa => 'Thrift::Parser::Exception', |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
'Thrift::Parser::InvalidArgument' => { |
36
|
|
|
|
|
|
|
isa => 'Thrift::Parser::Exception', |
37
|
|
|
|
|
|
|
fields => [ 'key', 'value' ], |
38
|
|
|
|
|
|
|
}, |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
'Thrift::Parser::InvalidSpec' => { |
41
|
|
|
|
|
|
|
isa => 'Thrift::Parser::Exception', |
42
|
|
|
|
|
|
|
}, |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
'Thrift::Parser::NotImplemented' => { |
45
|
|
|
|
|
|
|
isa => 'Thrift::Parser::Exception', |
46
|
|
|
|
|
|
|
}, |
47
|
6
|
|
|
6
|
|
6189
|
); |
|
6
|
|
|
|
|
66055
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |