From 231b3683af97987f9fa5fba54cd4b6afbde8287f Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 18 Jun 2007 15:50:28 +0000
Subject: [PATCH] Use the cause's message as the message for the admin client exception rather than the default implementation which contains the cause's class name as well (this is the correct behavior because admin client exceptions are supposed to "adapt" underlying impl exceptions, so they should use the adapted exception's message).

---
 opends/src/server/org/opends/server/admin/client/AdminClientException.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/client/AdminClientException.java b/opends/src/server/org/opends/server/admin/client/AdminClientException.java
index 0542c07..fd1fb28 100644
--- a/opends/src/server/org/opends/server/admin/client/AdminClientException.java
+++ b/opends/src/server/org/opends/server/admin/client/AdminClientException.java
@@ -67,7 +67,7 @@
    *          The cause.
    */
   public AdminClientException(Throwable cause) {
-    super(cause);
+    super(cause.getMessage(), cause);
   }
 
 

--
Gitblit v1.10.0