From 80c58327faaa4873369f6bb949e62792c2f708e0 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.

---
 opends/src/server/org/opends/server/admin/client/AdminClientException.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/client/AdminClientException.java b/opends/src/server/org/opends/server/admin/client/AdminClientException.java
index fd1fb28..7f85bf9 100644
--- a/opends/src/server/org/opends/server/admin/client/AdminClientException.java
+++ b/opends/src/server/org/opends/server/admin/client/AdminClientException.java
@@ -26,6 +26,7 @@
  */
 
 package org.opends.server.admin.client;
+import org.opends.messages.Message;
 
 
 
@@ -67,7 +68,7 @@
    *          The cause.
    */
   public AdminClientException(Throwable cause) {
-    super(cause.getMessage(), cause);
+    super(cause);
   }
 
 
@@ -81,7 +82,7 @@
    * @param cause
    *          The cause.
    */
-  public AdminClientException(String message, Throwable cause) {
+  public AdminClientException(Message message, Throwable cause) {
     super(message, cause);
   }
 
@@ -93,7 +94,7 @@
    * @param message
    *          The message.
    */
-  public AdminClientException(String message) {
+  public AdminClientException(Message message) {
     super(message);
   }
 }

--
Gitblit v1.10.0