From e5761b5d7eb2d4ee096706e3e7d726fe250e5d35 Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Mon, 18 May 2015 13:15:17 +0000
Subject: [PATCH] OPENDJ-2029 CR-6966 Uncaught exception in dsreplication

---
 opendj-sdk/opendj-server-legacy/src/main/java/org/opends/admin/ads/TopologyCacheException.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/admin/ads/TopologyCacheException.java b/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/admin/ads/TopologyCacheException.java
index e5e416e..8efb7b0 100644
--- a/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/admin/ads/TopologyCacheException.java
+++ b/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/admin/ads/TopologyCacheException.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2008 Sun Microsystems, Inc.
- *      Portions Copyright 2013 ForgeRock AS.
+ *      Portions Copyright 2013-2015 ForgeRock AS.
  */
 
 package org.opends.admin.ads;
@@ -86,8 +86,8 @@
    */
   public TopologyCacheException(ADSContextException ace)
   {
+    super(ace);
     type = Type.GENERIC_READING_ADS;
-    initCause(ace);
   }
 
   /**
@@ -97,8 +97,8 @@
   */
   public TopologyCacheException(Type type, Throwable t)
   {
+    super(t);
     this.type = type;
-    initCause(t);
   }
 
   /**
@@ -114,8 +114,8 @@
   public TopologyCacheException(Type type, NamingException ne,
       ApplicationTrustManager trustManager, String ldapUrl)
   {
+    super(ne);
     this.type = type;
-    initCause(ne);
     this.ldapUrl = ldapUrl;
     this.trustManager = trustManager;
   }

--
Gitblit v1.10.0