From 44aad3f84d2a820094f3b5e73722778edc8c23f5 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 24 Apr 2007 22:40:57 +0000
Subject: [PATCH] Make several significant changes to the OpenDS code base, including:

---
 opends/src/server/org/opends/server/extensions/TLSConnectionSecurityProvider.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/TLSConnectionSecurityProvider.java b/opends/src/server/org/opends/server/extensions/TLSConnectionSecurityProvider.java
index a6d1f1d..97b6ef8 100644
--- a/opends/src/server/org/opends/server/extensions/TLSConnectionSecurityProvider.java
+++ b/opends/src/server/org/opends/server/extensions/TLSConnectionSecurityProvider.java
@@ -212,7 +212,7 @@
       }
 
       int msgID = MSGID_TLS_SECURITY_PROVIDER_CANNOT_INITIALIZE;
-      String message = getMessage(msgID, stackTraceToSingleLineString(e));
+      String message = getMessage(msgID, getExceptionMessage(e));
       throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
                                    message, msgID, e);
     }
@@ -660,7 +660,7 @@
         // Disconnect and return.
         clientConnection.disconnect(DisconnectReason.SERVER_ERROR, true,
                                     MSGID_TLS_SECURITY_PROVIDER_READ_ERROR,
-                                    stackTraceToSingleLineString(e));
+                                    getExceptionMessage(e));
         return false;
       }
     }
@@ -960,7 +960,7 @@
       // Disconnect and return.
       clientConnection.disconnect(DisconnectReason.SERVER_ERROR, true,
                                   MSGID_TLS_SECURITY_PROVIDER_WRITE_ERROR,
-                                  stackTraceToSingleLineString(e));
+                                  getExceptionMessage(e));
       return false;
     }
   }

--
Gitblit v1.10.0