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