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

Reply via email to