line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Eidolon::Driver::Log::Exceptions; |
2
|
|
|
|
|
|
|
# ============================================================================== |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Eidolon |
5
|
|
|
|
|
|
|
# Copyright (c) 2009, Atma 7 |
6
|
|
|
|
|
|
|
# --- |
7
|
|
|
|
|
|
|
# Eidolon/Driver/Log/Exceptions.pm - log driver exceptions |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# ============================================================================== |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
12
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
96
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = "0.02"; # 2009-05-14 05:44:28 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use Eidolon::Core::Exception::Builder |
17
|
|
|
|
|
|
|
( |
18
|
1
|
|
|
|
|
15
|
"DriverError::Log" => |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
"isa" => "DriverError", |
21
|
|
|
|
|
|
|
"title" => "Log driver error" |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
"DriverError::Log::Directory" => |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
"isa" => "DriverError::Log", |
27
|
|
|
|
|
|
|
"title" => "Cannot open log directory" |
28
|
|
|
|
|
|
|
}, |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
"DriverError::Log::Open" => |
31
|
|
|
|
|
|
|
{ |
32
|
|
|
|
|
|
|
"isa" => "DriverError::Log", |
33
|
|
|
|
|
|
|
"title" => "Cannot open log file" |
34
|
|
|
|
|
|
|
} |
35
|
1
|
|
|
1
|
|
6
|
); |
|
1
|
|
|
|
|
2
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__END__ |