directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: Trunk failures : status
Date Fri, 12 Nov 2010 16:30:19 GMT
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" ),

Thanks and sorry
Felix

Mime
View raw message