directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: Trunk failures : status
Date Fri, 12 Nov 2010 16:46:44 GMT
On 11/12/10 5:30 PM, Felix Knecht wrote:
> I'm trying to fix the some test failures I (I think so) introduced 
> switching some interface to enum.
> I have 3 ErrorType classes in ApacheDS:
> ./kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/exceptions/ErrorType.java

>
> ./kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/exceptions/ErrorType.java

>
> ./protocol-changepw/src/main/java/org/apache/directory/server/changepw/exceptions/ErrorType.java

>
>
> Do they need to have an integer ErrorCode or would it be sufficient 
> transforming them to enums just having an error message like
>  KDC_ERR_NONE( "No error" ),
> instead of
>  KDC_ERR_NONE( 0, "No error" ),

IMO, having an error code could help in the future.

-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message