Added OpenJPAVersion.RELEASE_STATUS to log messages to more completely encapsulate version data.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2007-04-25 00:17:23 +00:00
parent 0e7feca04a
commit 14ba7eed94
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ public class Exceptions {
int type = e.getType(); int type = e.getType();
StringBuffer buf = new StringBuffer(); StringBuffer buf = new StringBuffer();
buf.append("<"). buf.append("<").
append(OpenJPAVersion.VERSION_NUMBER).append(' '). append(OpenJPAVersion.VERSION_NUMBER).
append(OpenJPAVersion.RELEASE_STATUS).append(' ').
append(e.isFatal() ? "fatal " : "nonfatal "). append(e.isFatal() ? "fatal " : "nonfatal ").
append (type == ExceptionInfo.GENERAL ? "general error" : append (type == ExceptionInfo.GENERAL ? "general error" :
type == ExceptionInfo.INTERNAL ? "internal error" : type == ExceptionInfo.INTERNAL ? "internal error" :