From 3360705577c8bb82d31e593cc5890aebeca063c1 Mon Sep 17 00:00:00 2001 From: matthew_swift <matthew_swift@localhost> Date: Wed, 05 Sep 2007 22:57:40 +0000 Subject: [PATCH] Improvements to the server-side constraint violation APIs. Now there are just two server-side constraint enforcement call-backs: isUsable and isDeleteAllowed. The first is invoked whenever a managed object is decoded (except in the case where it's about to be deleted). The second is invoked whenever a managed object is about to be deleted. With this change we will now detect constraint violations during server initialization, not just when config change/add/delete events occur. --- opends/src/messages/messages/admin.properties | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/opends/src/messages/messages/admin.properties b/opends/src/messages/messages/admin.properties index c9645c0..af43615 100644 --- a/opends/src/messages/messages/admin.properties +++ b/opends/src/messages/messages/admin.properties @@ -255,3 +255,7 @@ recognized SEVERE_ERR_COMMUNICATION_EXCEPTION_DEFAULT_CAUSE_111=A communication problem \ occurred while contacting the server: %s +SEVERE_ERR_CONSTRAINT_VIOLATION_EXCEPTION_SINGLE_112=The following \ + constraint violation occurred: %s +SEVERE_ERR_CONSTRAINT_VIOLATION_EXCEPTION_PLURAL_113=The following \ + constraint violations occurred: %s -- Gitblit v1.10.0