From a873d6d0b57a360b7ff038cf6aac11e8e7369cfa Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 13 May 2015 09:00:40 +0000
Subject: [PATCH] ImportStrategy.java: In importLDIF(), added InitializationException as a checked exception.
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportStrategy.java | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportStrategy.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportStrategy.java
index 41cf83a..fde7206 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportStrategy.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportStrategy.java
@@ -26,6 +26,7 @@
import org.opends.server.core.ServerContext;
import org.opends.server.types.DirectoryException;
+import org.opends.server.types.InitializationException;
import org.opends.server.types.LDIFImportConfig;
import org.opends.server.types.LDIFImportResult;
@@ -36,14 +37,18 @@
* Imports information from an LDIF file into the supplied root container.
*
* @param importConfig
- * The configuration to use when performing the import.
+ * The configuration to use when performing the import
+ * @param rootContainer
+ * The root container where to do the import
* @param serverContext
* The server context
- * @return Information about the result of the import processing.
+ * @return Information about the result of the import processing
* @throws DirectoryException
- * If a problem occurs while performing the LDIF import.
+ * If a problem occurs while performing the LDIF import
+ * @throws InitializationException
+ * If a problem occurs while initializing the LDIF import
* @see {@link Backend#importLDIF(LDIFImportConfig, ServerContext)}
*/
LDIFImportResult importLDIF(LDIFImportConfig importConfig, RootContainer rootContainer, ServerContext serverContext)
- throws DirectoryException;
+ throws DirectoryException, InitializationException;
}
--
Gitblit v1.10.0