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/AuthenticationNotSupportedException.java |  106 +++++++++++++++++++++++------------------------------
 1 files changed, 46 insertions(+), 60 deletions(-)

diff --git a/opendj-admin/src/main/java/org/opends/server/admin/client/AuthenticationNotSupportedException.java b/opendj-admin/src/main/java/org/opends/server/admin/client/AuthenticationNotSupportedException.java
index 7f66a59..c737eb3 100644
--- a/opendj-admin/src/main/java/org/opends/server/admin/client/AuthenticationNotSupportedException.java
+++ b/opendj-admin/src/main/java/org/opends/server/admin/client/AuthenticationNotSupportedException.java
@@ -27,73 +27,59 @@
 
 package org.opends.server.admin.client;
 
+import org.forgerock.i18n.LocalizableMessage;
 
-
-import static org.opends.messages.AdminMessages.*;
-
-import org.opends.messages.Message;
-
-
+import static com.forgerock.opendj.ldap.AdminMessages.*;
 
 /**
- * This exception is thrown when the particular flavor of
- * authentication requested is not supported by the Directory Server.
+ * This exception is thrown when the particular flavor of authentication
+ * requested is not supported by the Directory Server.
  */
-public class AuthenticationNotSupportedException
-    extends AdminSecurityException {
+public class AuthenticationNotSupportedException extends AdminSecurityException {
 
-  /**
-   * Serialization ID.
-   */
-  private static final long serialVersionUID = 7387834052676291793L;
+    /**
+     * Serialization ID.
+     */
+    private static final long serialVersionUID = 7387834052676291793L;
 
+    /**
+     * Creates an authentication not supported exception with a default message.
+     */
+    public AuthenticationNotSupportedException() {
+        super(ERR_AUTHENTICATION_NOT_SUPPORTED_EXCEPTION_DEFAULT.get());
+    }
 
+    /**
+     * Creates an authentication not supported exception with a cause and a
+     * default message.
+     *
+     * @param cause
+     *            The cause.
+     */
+    public AuthenticationNotSupportedException(Throwable cause) {
+        super(ERR_AUTHENTICATION_NOT_SUPPORTED_EXCEPTION_DEFAULT.get(), cause);
+    }
 
-  /**
-   * Creates an authentication not supported exception with a default
-   * message.
-   */
-  public AuthenticationNotSupportedException() {
-    super(ERR_AUTHENTICATION_NOT_SUPPORTED_EXCEPTION_DEFAULT.get());
-  }
+    /**
+     * Create an authentication not supported exception with a message and
+     * cause.
+     *
+     * @param message
+     *            The message.
+     * @param cause
+     *            The cause.
+     */
+    public AuthenticationNotSupportedException(LocalizableMessage message, Throwable cause) {
+        super(message, cause);
+    }
 
-
-
-  /**
-   * Creates an authentication not supported exception with a cause
-   * and a default message.
-   *
-   * @param cause
-   *          The cause.
-   */
-  public AuthenticationNotSupportedException(Throwable cause) {
-    super(ERR_AUTHENTICATION_NOT_SUPPORTED_EXCEPTION_DEFAULT.get(), cause);
-  }
-
-
-
-  /**
-   * Create an authentication not supported exception with a message
-   * and cause.
-   *
-   * @param message
-   *          The message.
-   * @param cause
-   *          The cause.
-   */
-  public AuthenticationNotSupportedException(Message message, Throwable cause) {
-    super(message, cause);
-  }
-
-
-
-  /**
-   * Create an authentication not supported exception with a message.
-   *
-   * @param message
-   *          The message.
-   */
-  public AuthenticationNotSupportedException(Message message) {
-    super(message);
-  }
+    /**
+     * Create an authentication not supported exception with a message.
+     *
+     * @param message
+     *            The message.
+     */
+    public AuthenticationNotSupportedException(LocalizableMessage message) {
+        super(message);
+    }
 }

--
Gitblit v1.10.0