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