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 does not exist.
16 * @author Maria KRUCHININA
19 public class LockNotExistsException extends AbstractException {
22 * Version id for serialization.
24 private static final long serialVersionUID = -4596111071538834057L;
27 * Create a LockNotExistsException.
29 * @param tableUid the table name uid
30 * @param rowUid the row uid
32 public LockNotExistsException(final String tableUid, final String rowUid) {
33 super(MessageKeyEnum.LCK_000002.toString(), tableUid, rowUid);
37 * Create a LockNotExistsException.
39 * @param throwable the cause
40 * @param tableUid the table name uid
41 * @param rowUid the row uid
43 public LockNotExistsException(final Throwable throwable, final String tableUid, final String rowUid) {
44 super(MessageKeyEnum.LCK_000002.toString(),throwable, tableUid, rowUid);