line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pipeline::Error::AsyncResults; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use Error; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
9
|
|
6
|
1
|
|
|
1
|
|
118
|
use base qw( Error ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
173
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = "3.12"; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
|
|
|
my $caller = caller(1); |
14
|
0
|
|
|
|
|
|
my $text = "asynchronous handler returned unexpected results"; |
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
local $Error::Depth = $Error::Depth + 1; |
17
|
0
|
|
|
|
|
|
local $Error::Debug = 1; # Enables storing of stacktrace |
18
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
$class->SUPER::new(-text => $text, @_); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Pipeline::Error::AsyncResults - exception thrown from asynchronous segments |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
use Pipeline::Error::AsyncResults; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
throw Pipeline::Error::AsyncResults; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
C inherits from C and will be thrown |
37
|
|
|
|
|
|
|
whenever results back from asynchronous segments do not match the protocol |
38
|
|
|
|
|
|
|
expected. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SEE ALSO |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
C C |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
James A. Duncan |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Copyright 2003 Fotango Ltd. All Rights Reserved. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This module is released under the same license as Perl itself. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |