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/ManageTasks.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/ManageTasks.java b/opendj3-server-dev/src/server/org/opends/server/tools/ManageTasks.java
index 1b3768b..92f860c 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/ManageTasks.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/ManageTasks.java
@@ -36,7 +36,7 @@
import org.opends.server.core.DirectoryServer;
import org.opends.server.loggers.ErrorLogger;
-import org.opends.server.protocols.asn1.ASN1Exception;
+import org.forgerock.opendj.ldap.DecodeException;
import static org.opends.server.tools.ToolConstants.*;
@@ -419,10 +419,10 @@
* @throws IOException if there is a problem with screen I/O
* @throws LDAPException if there is a problem getting information
* out to the directory
- * @throws ASN1Exception if there is a problem with the encoding
+ * @throws DecodeException if there is a problem with the encoding
*/
private void printSummaryTable()
- throws LDAPException, IOException, ASN1Exception {
+ throws LDAPException, IOException, DecodeException {
List<TaskEntry> entries = taskClient.getTaskEntries();
if (entries.size() > 0) {
TableBuilder table = new TableBuilder();
@@ -465,10 +465,10 @@
* @throws IOException if there is a problem with screen I/O
* @throws LDAPException if there is a problem getting information
* out to the directory
- * @throws ASN1Exception if there is a problem with the encoding
+ * @throws DecodeException if there is a problem with the encoding
*/
private Menu<Void> getSummaryMenu()
- throws LDAPException, IOException, ASN1Exception {
+ throws LDAPException, IOException, DecodeException {
List<String> taskIds = new ArrayList<String>();
List<Integer> cancelableIndices = new ArrayList<Integer>();
List<TaskEntry> entries = taskClient.getTaskEntries();
--
Gitblit v1.10.0