mirror of https://github.com/apache/openjpa.git
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:
parent
0e7feca04a
commit
14ba7eed94
|
@ -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" :
|
||||||
|
|
Loading…
Reference in New Issue