directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r477385 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Date Mon, 20 Nov 2006 22:58:48 GMT
Author: ersiner
Date: Mon Nov 20 14:58:47 2006
New Revision: 477385

URL: http://svn.apache.org/viewvc?view=rev&rev=477385
Log:
Detailed debug message.

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java?view=diff&rev=477385&r1=477384&r2=477385
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Mon Nov 20 14:58:47 2006
@@ -907,7 +907,7 @@
                 case DirContext.REMOVE_ATTRIBUTE :
                     if ( tmpEntry.get( change.getID() ) == null )
                     {
-                        log.error( "Trying to remove an inexistant attribute" );
+                        log.error( "Trying to remove an inexistant attribute: " + change.getID()
);
                         throw new LdapNoSuchAttributeException();
                     }
 
@@ -915,7 +915,7 @@
                     // if so then we have a schema violation that must be thrown
                     if ( isRequired( change.getID(), objectClass ) && isCompleteRemoval(
change, entry ) )
                     {
-                        log.error( "Trying to remove a required attribute" );
+                        log.error( "Trying to remove a required attribute: " + change.getID()
);
                         throw new LdapSchemaViolationException( ResultCodeEnum.OBJECT_CLASS_VIOLATION
);
                     }
                     



Mime
View raw message