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/ManagedObjectNotFoundException.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java b/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java
index 23a4730..da465f4 100644
--- a/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java
+++ b/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java
@@ -26,7 +26,7 @@
*/
package org.opends.server.admin;
-
+import org.opends.messages.Message;
/**
@@ -40,7 +40,7 @@
private static final long serialVersionUID = -477551786551892978L;
// Simple description of this exception for debugging.
- private static final String MSG =
+ private static final String MSG = // TODO: i18n
"The requested managed object could not be found";
@@ -49,7 +49,7 @@
* Create a managed object not found exception.
*/
public ManagedObjectNotFoundException() {
- super(MSG);
+ super(Message.raw(MSG));
}
@@ -61,6 +61,6 @@
* The cause of this exception.
*/
public ManagedObjectNotFoundException(Throwable cause) {
- super(MSG, cause);
+ super(Message.raw(MSG), cause);
}
}
--
Gitblit v1.10.0