line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::Milter::Authentication::Exception; |
2
|
126
|
|
|
126
|
|
1764
|
use 5.20.0; |
|
126
|
|
|
|
|
445
|
|
3
|
126
|
|
|
126
|
|
709
|
use strict; |
|
126
|
|
|
|
|
202
|
|
|
126
|
|
|
|
|
2552
|
|
4
|
126
|
|
|
126
|
|
640
|
use warnings; |
|
126
|
|
|
|
|
272
|
|
|
126
|
|
|
|
|
2886
|
|
5
|
126
|
|
|
126
|
|
698
|
use Mail::Milter::Authentication::Pragmas; |
|
126
|
|
|
|
|
310
|
|
|
126
|
|
|
|
|
812
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Class representing an exception |
7
|
|
|
|
|
|
|
our $VERSION = '3.20230629'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
24
|
|
|
24
|
1
|
263
|
my ( $class, $args ) = @_; |
12
|
24
|
|
|
|
|
132
|
my $self = $args; |
13
|
24
|
|
|
|
|
189
|
bless $self, $class; |
14
|
24
|
|
|
|
|
1179
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=encoding UTF-8 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Mail::Milter::Authentication::Exception - Class representing an exception |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 3.20230629 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 I<new( $args )> |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
die Mail::Milter::Authentication::Exception->new({ 'Type' => 'Timeout', 'Text' => 'Example timeout exception' }); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Create a new exception object. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 AUTHOR |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Marc Bradshaw <marc@marcbradshaw.net> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Marc Bradshaw. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
50
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |