1 /*****************************************************************************
5 * Creation date 03.10.2012
6 * @author Author: Maria KRUCHININA
8 *****************************************************************************/
10 package org.splat.exception;
12 import org.splat.common.properties.MessageKeyEnum;
15 * Exception thrown when lock on object is timeout and can't be updated because
16 * object is outdated (obsolete).
18 * @author Maria KRUCHININA
21 public class LockOutdatedException extends BusinessException {
24 * Version id for serialization.
26 private static final long serialVersionUID = -4596111071538834057L;
29 * Create a LockOutdatedException.
31 * @param tableUid the table name uid
32 * @param rowUid the row uid
33 * @param userUid the user ID
35 public LockOutdatedException(final String tableUid, final String rowUid, final String userUid) {
36 super(MessageKeyEnum.LCK_000004.toString(), tableUid, rowUid, userUid);
40 * Create a LockOutdatedException.
42 * @param throwable the cause
43 * @param tableUid the table name uid
44 * @param rowUid the row uid
45 * @param userUid the user ID
47 public LockOutdatedException(final Throwable throwable, final String tableUid, final String rowUid, final String userUid) {
48 super(MessageKeyEnum.LCK_000004.toString(),throwable, tableUid, rowUid, userUid);