From 1b9f39db0f5450de6c3bb97cec681c342fff5944 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 08 Dec 2009 10:52:42 +0000
Subject: [PATCH] Move Message/MessageBuilder/LocalizableException/LocalizableIllegalArgumentException to public API since other public API elements reference them. Prefix Message/MessageBuilder with Localizable to emphasize that these classes are I18N related and not protocol messages. Keep MessageDescriptor private since users should not need access to it for now.

---
 sdk/src/org/opends/sdk/controls/AuthorizationIdentityControl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sdk/src/org/opends/sdk/controls/AuthorizationIdentityControl.java b/sdk/src/org/opends/sdk/controls/AuthorizationIdentityControl.java
index a7f4a08..cbf1442 100644
--- a/sdk/src/org/opends/sdk/controls/AuthorizationIdentityControl.java
+++ b/sdk/src/org/opends/sdk/controls/AuthorizationIdentityControl.java
@@ -7,9 +7,9 @@
 import org.opends.sdk.ByteString;
 import org.opends.sdk.DN;
 import org.opends.sdk.DecodeException;
+import org.opends.sdk.LocalizableMessage;
 import org.opends.sdk.schema.Schema;
 
-import com.sun.opends.sdk.util.Message;
 import com.sun.opends.sdk.util.Validator;
 
 
@@ -231,7 +231,7 @@
     {
       if (value != null)
       {
-        Message message = ERR_AUTHZIDREQ_CONTROL_HAS_VALUE.get();
+        LocalizableMessage message = ERR_AUTHZIDREQ_CONTROL_HAS_VALUE.get();
         throw DecodeException.error(message);
       }
 
@@ -263,7 +263,7 @@
     {
       if (value == null)
       {
-        Message message = ERR_AUTHZIDRESP_NO_CONTROL_VALUE.get();
+        LocalizableMessage message = ERR_AUTHZIDRESP_NO_CONTROL_VALUE.get();
         throw DecodeException.error(message);
       }
 

--
Gitblit v1.10.0