line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SPOPS::Exception::LDAP; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# $Id: LDAP.pm,v 3.2 2004/06/02 00:48:22 lachoy Exp $ |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1646
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
52
|
|
6
|
1
|
|
|
1
|
|
7
|
use base qw( SPOPS::Exception ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
328
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
$SPOPS::Exception::LDAP::VERSION = sprintf("%d.%02d", q$Revision: 3.2 $ =~ /(\d+)\.(\d+)/); |
9
|
|
|
|
|
|
|
@SPOPS::Exception::LDAP::EXPORT_OK = qw( spops_ldap_error ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
my @FIELDS = qw( code action filter error_text error_name ); |
12
|
|
|
|
|
|
|
SPOPS::Exception::LDAP->mk_accessors( @FIELDS ); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub get_fields { |
15
|
1
|
|
|
1
|
0
|
12
|
return ( $_[0]->SUPER::get_fields, @FIELDS ); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub spops_ldap_error { |
19
|
0
|
|
|
0
|
0
|
|
goto &SPOPS::Exception::throw( 'SPOPS::Exception::LDAP', @_ ); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |