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/AdminException.java | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/AdminException.java b/opends/src/server/org/opends/server/admin/AdminException.java
index a22de72..20937f1 100644
--- a/opends/src/server/org/opends/server/admin/AdminException.java
+++ b/opends/src/server/org/opends/server/admin/AdminException.java
@@ -26,13 +26,15 @@
*/
package org.opends.server.admin;
+import org.opends.messages.Message;
+import org.opends.server.types.OpenDsException;
/**
* Exceptions thrown when interacting with administration framework.
*/
-public abstract class AdminException extends Exception {
+public abstract class AdminException extends OpenDsException {
/**
* Create an admin exception.
@@ -63,7 +65,7 @@
* @param cause
* The cause.
*/
- protected AdminException(String message, Throwable cause) {
+ protected AdminException(Message message, Throwable cause) {
super(message, cause);
}
@@ -75,7 +77,7 @@
* @param message
* The message.
*/
- protected AdminException(String message) {
+ protected AdminException(Message message) {
super(message);
}
}
--
Gitblit v1.10.0