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/AbstractSASLContext.java | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/sdk/src/org/opends/sdk/sasl/AbstractSASLContext.java b/sdk/src/org/opends/sdk/sasl/AbstractSASLContext.java
index e4582bf..4f6ff7d 100644
--- a/sdk/src/org/opends/sdk/sasl/AbstractSASLContext.java
+++ b/sdk/src/org/opends/sdk/sasl/AbstractSASLContext.java
@@ -101,7 +101,7 @@
}
else
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message
@@ -141,7 +141,7 @@
void handle(AuthorizeCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -152,7 +152,7 @@
void handle(ChoiceCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -163,7 +163,7 @@
void handle(ConfirmationCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -174,7 +174,7 @@
void handle(LanguageCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -185,7 +185,7 @@
void handle(NameCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -196,7 +196,7 @@
void handle(PasswordCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -207,7 +207,7 @@
void handle(RealmCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -218,7 +218,7 @@
void handle(RealmChoiceCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -229,7 +229,7 @@
void handle(TextInputCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
@@ -240,7 +240,7 @@
void handle(TextOutputCallback callback)
throws UnsupportedCallbackException
{
- com.sun.opends.sdk.util.Message message =
+ org.opends.sdk.LocalizableMessage message =
INFO_SASL_UNSUPPORTED_CALLBACK.get(getSASLBindRequest()
.getSASLMechanism(), String.valueOf(callback));
throw new UnsupportedCallbackException(callback, message.toString());
--
Gitblit v1.10.0