From de19fe2956d5a4b3817834191c51989664f8c47c 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

---
 opends/src/server/org/opends/server/admin/OperationsException.java |   34 ++++++++--------------------------
 1 files changed, 8 insertions(+), 26 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/OperationsException.java b/opends/src/server/org/opends/server/admin/OperationsException.java
index 90710b5..f3a2e7e 100644
--- a/opends/src/server/org/opends/server/admin/OperationsException.java
+++ b/opends/src/server/org/opends/server/admin/OperationsException.java
@@ -27,14 +27,17 @@
 
 package org.opends.server.admin;
 
+
+
 import org.opends.messages.Message;
 
 
+
 /**
- * Exceptions thrown as a result of errors that occurred when reading, listing,
- * and modifying managed objects.
+ * Exceptions thrown as a result of errors that occurred when reading,
+ * listing, and modifying managed objects.
  */
-public class OperationsException extends AdminException {
+public abstract class OperationsException extends AdminException {
 
   /**
    * Serialization ID.
@@ -44,27 +47,6 @@
 
 
   /**
-   * Create an operations exception.
-   */
-  public OperationsException() {
-    // No implementation required.
-  }
-
-
-
-  /**
-   * Create an operations exception with a cause.
-   *
-   * @param cause
-   *          The cause.
-   */
-  public OperationsException(Throwable cause) {
-    super(cause);
-  }
-
-
-
-  /**
    * Create an operations exception with a message and cause.
    *
    * @param message
@@ -72,7 +54,7 @@
    * @param cause
    *          The cause.
    */
-  public OperationsException(Message message, Throwable cause) {
+  protected OperationsException(Message message, Throwable cause) {
     super(message, cause);
   }
 
@@ -84,7 +66,7 @@
    * @param message
    *          The message.
    */
-  public OperationsException(Message message) {
+  protected OperationsException(Message message) {
     super(message);
   }
 }

--
Gitblit v1.10.0