diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java b/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java index b64e8cda6..a8de24a66 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/util/Exceptions.java @@ -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" :