From df59285898b635c3c9f3011609eb7a73e779ecb9 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 07 Feb 2014 10:10:50 +0000
Subject: [PATCH] OPENDJ-1307 Migrate server ASN1 classes to SDK 

---
 opendj3-server-dev/src/server/org/opends/server/tools/LDAPToolUtils.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/LDAPToolUtils.java b/opendj3-server-dev/src/server/org/opends/server/tools/LDAPToolUtils.java
index d649a5d..11262ab 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/LDAPToolUtils.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/LDAPToolUtils.java
@@ -33,7 +33,7 @@
 import java.io.PrintStream;
 import java.net.SocketTimeoutException;
 
-import org.opends.server.protocols.asn1.ASN1Exception;
+import org.forgerock.opendj.ldap.DecodeException;
 import org.opends.server.protocols.ldap.LDAPControl;
 import org.opends.server.protocols.ldap.LDAPResultCode;
 import org.opends.server.types.DN;
@@ -290,11 +290,11 @@
    * <br>
    * The code simply checks that the exception corresponds to a client side
    * time out.
-   * @param ae the asn1exception that occurred connecting to the server or
+   * @param ae the DecodeException that occurred connecting to the server or
    * handling the response from the server.
    * @return the message to be displayed to the user when an exception occurs.
    */
-  public static String getMessageForConnectionException(ASN1Exception ae)
+  public static String getMessageForConnectionException(DecodeException ae)
   {
     Throwable cause = ae.getCause();
     if (cause != null)

--
Gitblit v1.10.0