line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pipeline::Error::Abstract; |
2
|
|
|
|
|
|
|
|
3
|
13
|
|
|
13
|
|
67
|
use strict; |
|
13
|
|
|
|
|
18
|
|
|
13
|
|
|
|
|
395
|
|
4
|
|
|
|
|
|
|
|
5
|
13
|
|
|
13
|
|
64
|
use Error; |
|
13
|
|
|
|
|
20
|
|
|
13
|
|
|
|
|
60
|
|
6
|
13
|
|
|
13
|
|
503
|
use base qw( Error ); |
|
13
|
|
|
|
|
22
|
|
|
13
|
|
|
|
|
2132
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = "3.12"; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
1
|
|
|
1
|
1
|
10
|
my $class = shift; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
4
|
my $caller = caller(1); |
14
|
1
|
|
|
|
|
459
|
my $text = "cannnot call abstract method in $caller"; |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
|
|
4
|
local $Error::Depth = $Error::Depth + 1; |
17
|
1
|
|
|
|
|
4
|
local $Error::Debug = 1; # Enables storing of stacktrace |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
|
|
44
|
$class->SUPER::new(-text => $text, @_); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Pipeline::Error::Abstract - exception thrown from abstract methods |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
use Pipeline::Error::Abstract; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
throw Pipeline::Error::Abstract; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
C inherits from C and will be thrown by |
37
|
|
|
|
|
|
|
any non-implemented abstract methods in the Pipeline module. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 SEE ALSO |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
C C |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
James A. Duncan |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 COPYRIGHT |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Copyright 2003 Fotango Ltd. All Rights Reserved. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This module is released under the same license as Perl itself. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |