Skip to content

Package: MessageErrorCodes

MessageErrorCodes

nameinstructionbranchcomplexitylinemethod
static {...}
M: 44 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 5 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 2020 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech - initial API and implementation
11: *******************************************************************************/
12: package org.eclipse.kapua.message.internal;
13:
14: import org.eclipse.kapua.KapuaErrorCode;
15:
16: /**
17: * Message error codes.
18: *
19: * @since 1.0.0
20: */
21: public enum MessageErrorCodes implements KapuaErrorCode {
22: /**
23: * Invalid destination
24: *
25: * @since 1.0.0
26: */
27: INVALID_DESTINATION,
28: /**
29: * Invalid message
30: *
31: * @since 1.0.0
32: */
33: INVALID_MESSAGE,
34: /**
35: * Invalid metric type
36: *
37: * @since 1.0.0
38: */
39: INVALID_METRIC_TYPE,
40: /**
41: * Invalid metric value
42: *
43: * @since 1.0.0
44: */
45: INVALID_METRIC_VALUE
46: }