From 19f32e8b95817bcc2ef0a73bbcb4be16e101c989 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 02 Dec 2013 11:07:17 +0000
Subject: [PATCH] OpenDJ 3 : config framework
---
opendj-admin/src/main/java/org/opends/server/admin/client/AdminClientException.java | 72 +++++++++++++++--------------------
1 files changed, 31 insertions(+), 41 deletions(-)
diff --git a/opendj-admin/src/main/java/org/opends/server/admin/client/AdminClientException.java b/opendj-admin/src/main/java/org/opends/server/admin/client/AdminClientException.java
index b596166..7715a0b 100644
--- a/opendj-admin/src/main/java/org/opends/server/admin/client/AdminClientException.java
+++ b/opendj-admin/src/main/java/org/opends/server/admin/client/AdminClientException.java
@@ -27,54 +27,44 @@
package org.opends.server.admin.client;
-
-
-import org.opends.messages.Message;
-
+import org.forgerock.i18n.LocalizableMessage;
import org.opends.server.admin.AdminException;
-
-
/**
- * Administration client exceptions represent non-operational problems
- * which occur whilst interacting with the administration framework.
- * They provide clients with a transport independent interface for
- * handling transport related exceptions.
+ * Administration client exceptions represent non-operational problems which
+ * occur whilst interacting with the administration framework. They provide
+ * clients with a transport independent interface for handling transport related
+ * exceptions.
* <p>
- * Client exceptions represent communications problems, security
- * problems, and service related problems.
+ * Client exceptions represent communications problems, security problems, and
+ * service related problems.
*/
public abstract class AdminClientException extends AdminException {
- /**
- * Serialization ID.
- */
- private static final long serialVersionUID = 4044747533980824456L;
+ /**
+ * Serialization ID.
+ */
+ private static final long serialVersionUID = 4044747533980824456L;
+ /**
+ * Create an administration client exception with a message and cause.
+ *
+ * @param message
+ * The message.
+ * @param cause
+ * The cause.
+ */
+ protected AdminClientException(LocalizableMessage message, Throwable cause) {
+ super(message, cause);
+ }
-
- /**
- * Create an administration client exception with a message and
- * cause.
- *
- * @param message
- * The message.
- * @param cause
- * The cause.
- */
- protected AdminClientException(Message message, Throwable cause) {
- super(message, cause);
- }
-
-
-
- /**
- * Create an administration client exception with a message.
- *
- * @param message
- * The message.
- */
- protected AdminClientException(Message message) {
- super(message);
- }
+ /**
+ * Create an administration client exception with a message.
+ *
+ * @param message
+ * The message.
+ */
+ protected AdminClientException(LocalizableMessage message) {
+ super(message);
+ }
}
--
Gitblit v1.10.0