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 a lock has another one and can't be deleted, created
17 * @author Maria KRUCHININA
20 public class LockProtectedException extends AbstractException {
23 * Version id for serialization.
25 private static final long serialVersionUID = -4596111071538834057L;
28 * Create a LockProtectedException.
30 * @param tableUid the table name uid
31 * @param rowUid the row uid
32 * @param userUid the user ID
34 public LockProtectedException(final String tableUid, final String rowUid, final String userUid) {
35 super(MessageKeyEnum.LCK_000003.toString(), tableUid, rowUid, userUid);
39 * Create a LockProtectedException.
41 * @param throwable the cause
42 * @param tableUid the table name uid
43 * @param rowUid the row uid
44 * @param userUid the user ID
46 public LockProtectedException(final Throwable throwable, final String tableUid, final String rowUid, final String userUid) {
47 super(MessageKeyEnum.LCK_000003.toString(),throwable, tableUid, rowUid, userUid);