1 /*****************************************************************************
5 * Creation date 03.10.2012
6 * @author Author: Maria KRUCHININA
8 *****************************************************************************/
10 package org.splat.common.properties;
13 * Enumeration of all exception's code.
14 * Values are in the src/conf/log-messages.properties file.
15 * @author Maria KRUCHININA
18 public enum MessageKeyEnum {
21 * Lock reference already exists for user {2}.
23 LCK_000001("LCK-000001"),
25 * Lock reference does not exists.
27 LCK_000002("LCK-000002"),
29 * Lock reference protected and can be only deleted or updated by user {2}.
31 LCK_000003("LCK-000003"),
33 * Lock reference is timeout and could have been modified by user {2}.
35 LCK_000004("LCK-000004");
40 private final String _value;
43 * The enum contructor with param(s).
44 * @param value The value
46 MessageKeyEnum(final String value) {
52 * @see java.lang.Enum#toString()
55 public String toString() {