From edb7b32eaa2db4a171496d30ed3293bfa06b30c8 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Tue, 11 Feb 2014 13:36:41 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1303 - added DEFAULT_LDAP_CONNECT_TIMEOUT to constants. - added ClientException, merge it with CLIException. Replaced CLIException calls. (CLIException will disappear soon) - Console application : errors,warnings should be displayed in stdout if interactive mode is enabled. 	- added unit tests. 	- removed closeIfNotNull / replaced it by Utils.closeSilently

---
 opendj-cli/src/main/java/com/forgerock/opendj/cli/CliConstants.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/CliConstants.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/CliConstants.java
index 4dc1a78..c32484b 100755
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/CliConstants.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/CliConstants.java
@@ -31,6 +31,9 @@
  */
 public final class CliConstants {
 
+    /** Default value for LDAP connection timeout. */
+    public static final int DEFAULT_LDAP_CONNECT_TIMEOUT = 30000;
+
     /** Default value for incrementing port number. */
     public static final int PORT_INCREMENT = 1000;
 

--
Gitblit v1.10.0