line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::Milter::Authentication::Exception; |
2
|
127
|
|
|
127
|
|
1721
|
use 5.20.0; |
|
127
|
|
|
|
|
514
|
|
3
|
127
|
|
|
127
|
|
771
|
use strict; |
|
127
|
|
|
|
|
430
|
|
|
127
|
|
|
|
|
3029
|
|
4
|
127
|
|
|
127
|
|
652
|
use warnings; |
|
127
|
|
|
|
|
273
|
|
|
127
|
|
|
|
|
3082
|
|
5
|
127
|
|
|
127
|
|
658
|
use Mail::Milter::Authentication::Pragmas; |
|
127
|
|
|
|
|
312
|
|
|
127
|
|
|
|
|
742
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Class representing an exception |
7
|
|
|
|
|
|
|
our $VERSION = '3.20230911'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
24
|
|
|
24
|
1
|
278
|
my ( $class, $args ) = @_; |
12
|
24
|
|
|
|
|
143
|
my $self = $args; |
13
|
24
|
|
|
|
|
198
|
bless $self, $class; |
14
|
24
|
|
|
|
|
1125
|
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.20230911 |
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 |