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

Reply via email to