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/config/ConfigException.java |   25 +++----------------------
 1 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/config/ConfigException.java b/opendj-sdk/opends/src/server/org/opends/server/config/ConfigException.java
index 24e33ad..69d8eec 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/config/ConfigException.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/config/ConfigException.java
@@ -25,6 +25,7 @@
  *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.config;
+import org.opends.messages.Message;
 
 
 
@@ -50,23 +51,16 @@
 
 
 
-  // The unique message ID for the associated message.
-  private int messageID;
-
 
 
   /**
    * Creates a new configuration exception with the provided message.
    *
-   * @param  messageID  The unique message ID for the provided message.
    * @param  message    The message to use for this configuration exception.
    */
-  public ConfigException(int messageID, String message)
+  public ConfigException(Message message)
   {
     super(message);
-
-
-    this.messageID = messageID;
   }
 
 
@@ -75,29 +69,16 @@
    * Creates a new configuration exception with the provided message and
    * underlying cause.
    *
-   * @param  messageID  The unique message ID for the provided message.
    * @param  message    The message to use for this configuration exception.
    * @param  cause      The underlying cause that triggered this configuration
    *                    exception.
    */
-  public ConfigException(int messageID, String message, Throwable cause)
+  public ConfigException(Message message, Throwable cause)
   {
     super(message, cause);
-
-
-    this.messageID = messageID;
   }
 
 
 
-  /**
-   * Retrieves the message ID for this exception.
-   *
-   * @return  The message ID for this exception.
-   */
-  public int getMessageID()
-  {
-    return messageID;
-  }
 }
 

--
Gitblit v1.10.0