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/sasl/GSSAPISASLBindRequest.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/src/org/opends/sdk/sasl/GSSAPISASLBindRequest.java b/sdk/src/org/opends/sdk/sasl/GSSAPISASLBindRequest.java
index a716cc5..54184f5 100644
--- a/sdk/src/org/opends/sdk/sasl/GSSAPISASLBindRequest.java
+++ b/sdk/src/org/opends/sdk/sasl/GSSAPISASLBindRequest.java
@@ -45,8 +45,8 @@
import org.opends.sdk.ByteString;
import org.opends.sdk.DN;
+import org.opends.sdk.LocalizableMessage;
-import com.sun.opends.sdk.util.Message;
import com.sun.opends.sdk.util.Validator;
import com.sun.security.auth.callback.TextCallbackHandler;
import com.sun.security.auth.module.Krb5LoginModule;
@@ -135,7 +135,7 @@
}
// This should not happen. Must be a bug.
- Message msg =
+ LocalizableMessage msg =
ERR_SASL_CONTEXT_CREATE_ERROR.get(SASL_MECHANISM_GSSAPI,
getExceptionMessage(e));
throw new SaslException(msg.toString(), e.getCause());
@@ -165,7 +165,7 @@
}
// This should not happen. Must be a bug.
- Message msg =
+ LocalizableMessage msg =
ERR_SASL_PROTOCOL_ERROR.get(SASL_MECHANISM_GSSAPI,
getExceptionMessage(e));
throw new SaslException(msg.toString(), e.getCause());
--
Gitblit v1.10.0