line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Geoffrey::Exception::Template; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
17
|
use utf8; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
17
|
|
4
|
2
|
|
|
2
|
|
120
|
use 5.016; |
|
2
|
|
|
|
|
9
|
|
5
|
2
|
|
|
2
|
|
13
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
48
|
|
6
|
2
|
|
|
2
|
|
26
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
188
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
$Geoffrey::Exception::Template::VERSION = '0.000204'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
use Exception::Class 1.23 ( |
11
|
2
|
|
|
|
|
15
|
'Geoffrey::Exception::Template' => { description => 'Unidentified exception', }, |
12
|
|
|
|
|
|
|
'Geoffrey::Exception::Template::NotFound' => |
13
|
|
|
|
|
|
|
{ description => 'Given template is not configured!', }, |
14
|
2
|
|
|
2
|
|
534
|
); |
|
2
|
|
|
|
|
8647
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub throw_template_not_found { |
17
|
2
|
|
|
2
|
1
|
22
|
return Geoffrey::Exception::Template::NotFound->throw("Template $_[0] is not configured!\n"); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |