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/schema/IntegerFirstComponentEqualityMatchingRuleImpl.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/IntegerFirstComponentEqualityMatchingRuleImpl.java b/sdk/src/org/opends/sdk/schema/IntegerFirstComponentEqualityMatchingRuleImpl.java
index 0f6dd25..413e361 100644
--- a/sdk/src/org/opends/sdk/schema/IntegerFirstComponentEqualityMatchingRuleImpl.java
+++ b/sdk/src/org/opends/sdk/schema/IntegerFirstComponentEqualityMatchingRuleImpl.java
@@ -32,7 +32,6 @@
import org.opends.sdk.*;
-import com.sun.opends.sdk.util.Message;
import com.sun.opends.sdk.util.StaticUtils;
import com.sun.opends.sdk.util.SubstringReader;
@@ -77,7 +76,7 @@
"IntegerFirstComponentEqualityMatchingRule", "getAssertion",
e);
- final Message message =
+ final LocalizableMessage message =
ERR_EMR_INTFIRSTCOMP_FIRST_COMPONENT_NOT_INT.get(value
.toString());
throw DecodeException.error(message);
@@ -101,7 +100,7 @@
{
// This means that the value was empty or contained only
// whitespace. That is illegal.
- final Message message = ERR_ATTR_SYNTAX_EMPTY_VALUE.get();
+ final LocalizableMessage message = ERR_ATTR_SYNTAX_EMPTY_VALUE.get();
throw DecodeException.error(message);
}
@@ -110,7 +109,7 @@
final char c = reader.read();
if (c != '(')
{
- final Message message =
+ final LocalizableMessage message =
ERR_ATTR_SYNTAX_EXPECTED_OPEN_PARENTHESIS.get(definition,
(reader.pos() - 1), String.valueOf(c));
throw DecodeException.error(message);
--
Gitblit v1.10.0