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).

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562615 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2007-08-03 23:38:34 +00:00
parent 3c17af7351
commit a361f6a148
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ public class Exceptions {
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" :