From 550b1d6e3a093fbf315c4bcee971736f722e0830 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 03 Sep 2007 20:36:20 +0000
Subject: [PATCH] Fix issue 1443: Admin framework: improve error logging in server

---
 opendj-sdk/opends/src/server/org/opends/server/admin/client/AdminClientException.java |   32 ++++++--------------------------
 1 files changed, 6 insertions(+), 26 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 7f85bf9..53bec1c 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,10 +26,11 @@
  */
 
 package org.opends.server.admin.client;
+
+
+
 import org.opends.messages.Message;
 
-
-
 import org.opends.server.admin.AdminException;
 
 
@@ -43,7 +44,7 @@
  * Client exceptions represent communications problems, security
  * problems, and service related problems.
  */
-public class AdminClientException extends AdminException {
+public abstract class AdminClientException extends AdminException {
 
   /**
    * Serialization ID.
@@ -53,27 +54,6 @@
 
 
   /**
-   * Create an administration client exception.
-   */
-  public AdminClientException() {
-    // No implementation required.
-  }
-
-
-
-  /**
-   * Create an administration client exception with a cause.
-   *
-   * @param cause
-   *          The cause.
-   */
-  public AdminClientException(Throwable cause) {
-    super(cause);
-  }
-
-
-
-  /**
    * Create an administration client exception with a message and
    * cause.
    *
@@ -82,7 +62,7 @@
    * @param cause
    *          The cause.
    */
-  public AdminClientException(Message message, Throwable cause) {
+  protected AdminClientException(Message message, Throwable cause) {
     super(message, cause);
   }
 
@@ -94,7 +74,7 @@
    * @param message
    *          The message.
    */
-  public AdminClientException(Message message) {
+  protected AdminClientException(Message message) {
     super(message);
   }
 }

--
Gitblit v1.10.0