From cfc513043c5830b5a967733066068c7097b42e3c Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.

---
 opendj-sdk/opends/src/server/org/opends/server/tools/makeldif/MakeLDIFException.java |   29 ++++-------------------------
 1 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/makeldif/MakeLDIFException.java b/opendj-sdk/opends/src/server/org/opends/server/tools/makeldif/MakeLDIFException.java
index 9a9b3a0..c017a22 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/makeldif/MakeLDIFException.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/makeldif/MakeLDIFException.java
@@ -28,8 +28,9 @@
 
 
 
-import org.opends.server.types.IdentifiedException;
 
+import org.opends.server.types.IdentifiedException;
+import org.opends.messages.Message;
 
 
 /**
@@ -50,22 +51,14 @@
 
 
 
-  // The unique identifier for the message.
-  private int msgID;
-
-
-
   /**
    * Creates a new MakeLDIF exception with the provided information.
    *
-   * @param  msgID    The unique identifier for the message.
    * @param  message  The message for this exception.
    */
-  public MakeLDIFException(int msgID, String message)
+  public MakeLDIFException(Message message)
   {
     super(message);
-
-    this.msgID = msgID;
   }
 
 
@@ -73,27 +66,13 @@
   /**
    * Creates a new MakeLDIF exception with the provided information.
    *
-   * @param  msgID    The unique identifier for the message.
    * @param  message  The message for this exception.
    * @param  cause    The underlying cause for this exception.
    */
-  public MakeLDIFException(int msgID, String message, Throwable cause)
+  public MakeLDIFException(Message message, Throwable cause)
   {
     super(message, cause);
-
-    this.msgID = msgID;
   }
 
-
-
-  /**
-   * Retrieves the unique identifier for the message.
-   *
-   * @return  The unique identifier for the message.
-   */
-  public int getMessageID()
-  {
-    return msgID;
-  }
 }
 

--
Gitblit v1.10.0