line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ExtUtils::XSpp::Exception::unknown; |
2
|
21
|
|
|
21
|
|
106
|
use strict; |
|
21
|
|
|
|
|
40
|
|
|
21
|
|
|
|
|
1607
|
|
3
|
21
|
|
|
21
|
|
107
|
use warnings; |
|
21
|
|
|
|
|
41
|
|
|
21
|
|
|
|
|
848
|
|
4
|
|
|
|
|
|
|
|
5
|
21
|
|
|
21
|
|
99
|
use base 'ExtUtils::XSpp::Exception'; |
|
21
|
|
|
|
|
40
|
|
|
21
|
|
|
|
|
551
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub init { |
8
|
95
|
|
|
95
|
0
|
165
|
my $this = shift; |
9
|
95
|
|
|
|
|
425
|
$this->SUPER::init(@_); |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub handler_code { |
13
|
91
|
|
|
91
|
1
|
288
|
my $this = shift; |
14
|
91
|
|
|
|
|
158
|
my $no_spaces_indent = shift; |
15
|
91
|
50
|
|
|
|
424
|
$no_spaces_indent = 4 if not defined $no_spaces_indent; |
16
|
|
|
|
|
|
|
|
17
|
91
|
|
|
|
|
317
|
my $msg = "Caught C++ exception of unknown type"; |
18
|
91
|
|
|
|
|
197
|
my $code = <
|
19
|
|
|
|
|
|
|
catch (...) { |
20
|
|
|
|
|
|
|
croak("$msg"); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
HERE |
23
|
91
|
|
|
|
|
406
|
return $this->indent_code($code, $no_spaces_indent); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |