directory-commits mailing list archives

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

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

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

Modified: directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java?view=diff&rev=477386&r1=477385&r2=477386
==============================================================================
--- directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
(original)
+++ directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Mon Nov 20 14:59:14 2006
@@ -905,7 +905,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();
                     }
 
@@ -913,7 +913,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.OBJECTCLASSVIOLATION
);
                     }
                     



Mime
View raw message