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/schema/LDAPSyntaxDescriptionSyntax.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/schema/LDAPSyntaxDescriptionSyntax.java b/opends/src/server/org/opends/server/schema/LDAPSyntaxDescriptionSyntax.java
index 8ade984..38e3d56 100644
--- a/opends/src/server/org/opends/server/schema/LDAPSyntaxDescriptionSyntax.java
+++ b/opends/src/server/org/opends/server/schema/LDAPSyntaxDescriptionSyntax.java
@@ -420,7 +420,7 @@
 
       int msgID = MSGID_ATTR_SYNTAX_ATTRSYNTAX_CANNOT_READ_DESC_TOKEN;
       invalidReason.append(getMessage(msgID, valueStr, pos,
-                                      stackTraceToSingleLineString(e)));
+                                      getExceptionMessage(e)));
       return false;
     }
 
@@ -447,7 +447,7 @@
 
       int msgID = MSGID_ATTR_SYNTAX_ATTRSYNTAX_CANNOT_READ_DESC_VALUE;
       invalidReason.append(getMessage(msgID, valueStr, pos,
-                                      stackTraceToSingleLineString(e)));
+                                      getExceptionMessage(e)));
       return false;
     }
     //Check if we have a RFC 4512 style extension.
@@ -461,8 +461,7 @@
             debugCaught(DebugLogLevel.ERROR, e);
           }
             int msgID = MSGID_ATTR_SYNTAX_ATTRSYNTAX_INVALID_EXTENSION;
-            invalidReason.append(getMessage(msgID,
-                    stackTraceToSingleLineString(e)));
+            invalidReason.append(getMessage(msgID, getExceptionMessage(e)));
             return false;
         }
     }

--
Gitblit v1.10.0