diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/util/LockException.java b/openjpa-kernel/src/main/java/org/apache/openjpa/util/LockException.java index cbf7ab226..ac79f0874 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/util/LockException.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/util/LockException.java @@ -45,6 +45,10 @@ public class LockException } public LockException(Object failed, int timeout) { + this(failed, timeout, -1); + } + + public LockException(Object failed, int timeout, int lockLevel) { super(_loc.get("lock-timeout", Exceptions.toString(failed), String.valueOf(timeout))); setFailedObject(failed);