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/asn1/ASN1OutputStreamWriter.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/src/org/opends/sdk/asn1/ASN1OutputStreamWriter.java b/sdk/src/org/opends/sdk/asn1/ASN1OutputStreamWriter.java
index bdaf6bb..206e8d4 100644
--- a/sdk/src/org/opends/sdk/asn1/ASN1OutputStreamWriter.java
+++ b/sdk/src/org/opends/sdk/asn1/ASN1OutputStreamWriter.java
@@ -38,9 +38,9 @@
import org.opends.sdk.ByteSequence;
import org.opends.sdk.ByteStringBuilder;
+import org.opends.sdk.LocalizableMessage;
import com.sun.opends.sdk.util.ByteSequenceOutputStream;
-import com.sun.opends.sdk.util.Message;
import com.sun.opends.sdk.util.StaticUtils;
@@ -128,7 +128,7 @@
{
if (stackDepth < 0)
{
- Message message = ERR_ASN1_SEQUENCE_WRITE_NOT_STARTED.get();
+ LocalizableMessage message = ERR_ASN1_SEQUENCE_WRITE_NOT_STARTED.get();
throw new IllegalStateException(message.toString());
}
--
Gitblit v1.10.0