mirror of https://github.com/apache/openjpa.git
OPENJPA-891 - Add constructor per Pinaki's comment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751476 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dab2ec2ead
commit
f1d4abda25
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue