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/admin/client/AdminClientException.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/client/AdminClientException.java b/opendj-sdk/opends/src/server/org/opends/server/admin/client/AdminClientException.java
index fd1fb28..7f85bf9 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/client/AdminClientException.java
+++ b/opendj-sdk/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