From 2fef5aa0046548cb88034553f522d907195a19f7 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 02 Dec 2013 10:47:18 +0000
Subject: [PATCH] OpenDJ 3 : config framework

---
 opendj-admin/src/main/java/org/opends/server/admin/PropertyNotFoundException.java |   55 +++++++++++++++++++++++++------------------------------
 1 files changed, 25 insertions(+), 30 deletions(-)

diff --git a/opendj-admin/src/main/java/org/opends/server/admin/PropertyNotFoundException.java b/opendj-admin/src/main/java/org/opends/server/admin/PropertyNotFoundException.java
index 853fc26..5bbe804 100644
--- a/opendj-admin/src/main/java/org/opends/server/admin/PropertyNotFoundException.java
+++ b/opendj-admin/src/main/java/org/opends/server/admin/PropertyNotFoundException.java
@@ -27,8 +27,7 @@
 
 package org.opends.server.admin;
 
-import static org.opends.messages.AdminMessages.*;
-
+import static com.forgerock.opendj.ldap.AdminMessages.*;
 
 /**
  * Thrown when an attempt is made to retrieve a property using its name but the
@@ -39,37 +38,33 @@
  */
 public class PropertyNotFoundException extends OperationsException {
 
-  /**
-   * Serialization ID.
-   */
-  private static final long serialVersionUID = -895548482881819610L;
+    /**
+     * Serialization ID.
+     */
+    private static final long serialVersionUID = -895548482881819610L;
 
-  // The name of the property that could not be found.
-  private final String propertyName;
+    // The name of the property that could not be found.
+    private final String propertyName;
 
+    /**
+     * Create a new property not found exception.
+     *
+     * @param propertyName
+     *            The name of the property that could not be found.
+     */
+    public PropertyNotFoundException(String propertyName) {
+        super(ERR_PROPERTY_NOT_FOUND_EXCEPTION.get(propertyName));
 
+        this.propertyName = propertyName;
+    }
 
-  /**
-   * Create a new property not found exception.
-   *
-   * @param propertyName
-   *          The name of the property that could not be found.
-   */
-  public PropertyNotFoundException(String propertyName) {
-    super(ERR_PROPERTY_NOT_FOUND_EXCEPTION.get(propertyName));
-
-    this.propertyName = propertyName;
-  }
-
-
-
-  /**
-   * Get the name of the property that could not be found.
-   *
-   * @return Returns the name of the property that could not be found.
-   */
-  public String getPropertyName() {
-    return propertyName;
-  }
+    /**
+     * Get the name of the property that could not be found.
+     *
+     * @return Returns the name of the property that could not be found.
+     */
+    public String getPropertyName() {
+        return propertyName;
+    }
 
 }

--
Gitblit v1.10.0