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