openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r562615 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java
Date Fri, 03 Aug 2007 23:38:35 GMT
Author: mprudhom
Date: Fri Aug  3 16:38:34 2007
New Revision: 562615

URL: http://svn.apache.org/viewvc?view=rev&rev=562615
Log:
Changed exception message to show the version id (e.g., 1.0.0-SNAPSHOT-r12345), rather than
redundant version status string that had been output (e.g., 1.0.0-SNAPSHOT-SNAPSHOT).

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java?view=diff&rev=562615&r1=562614&r2=562615
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java Fri
Aug  3 16:38:34 2007
@@ -139,8 +139,8 @@
         int type = e.getType();
         StringBuffer buf = new StringBuffer();
         buf.append("<").
-            append(OpenJPAVersion.VERSION_NUMBER).
-            append(OpenJPAVersion.RELEASE_STATUS).append(' ').
+            append(OpenJPAVersion.VERSION_ID).
+            append(' ').
             append(e.isFatal() ? "fatal " : "nonfatal ").
             append (type == ExceptionInfo.GENERAL ? "general error" :
                 type == ExceptionInfo.INTERNAL ? "internal error" :



Mime
View raw message