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/ManagedObjectNotFoundException.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java b/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java
index 23a4730..da465f4 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectNotFoundException.java
+++ b/opendj-sdk/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