From 89debdc4f4f38e0d973c9f4f37e1c34002deeeb4 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 22 May 2007 14:35:47 +0000
Subject: [PATCH] Various improvements and refactorings of the admin framework client API, including:

---
 opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectAlreadyExistsException.java |   27 ++++-----------------------
 1 files changed, 4 insertions(+), 23 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectAlreadyExistsException.java b/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectAlreadyExistsException.java
index 08ca020..f5450b7 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectAlreadyExistsException.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/ManagedObjectAlreadyExistsException.java
@@ -30,8 +30,8 @@
 
 
 /**
- * A managed object could not be created because there is an existing managed
- * object with the same name.
+ * A managed object could not be created because there is an existing
+ * managed object with the same name.
  */
 public final class ManagedObjectAlreadyExistsException extends
     OperationsException {
@@ -45,31 +45,12 @@
   private static final String MSG = "A managed object could not be created"
       + " because there is an existing managed object with the same name";
 
-  // The name of the managed object that could not be created.
-  private final String name;
-
 
 
   /**
-   * Create a managed object already exists exception with the duplicate name.
-   *
-   * @param name
-   *          The name of the managed object that could not be created.
+   * Create a managed object already exists exception.
    */
-  public ManagedObjectAlreadyExistsException(String name) {
+  public ManagedObjectAlreadyExistsException() {
     super(MSG);
-
-    this.name = name;
-  }
-
-
-
-  /**
-   * Get the name of the managed object that could not be created.
-   *
-   * @return Returns the name of the managed object that could not be created.
-   */
-  public String getName() {
-    return name;
   }
 }

--
Gitblit v1.10.0