Skip to content

Package: TranslatorErrorCodes

TranslatorErrorCodes

nameinstructionbranchcomplexitylinemethod
static {...}
M: 104 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 11 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.translator.exception;
14:
15: import org.eclipse.kapua.KapuaErrorCode;
16:
17: /**
18: * {@link org.eclipse.kapua.translator.Translator} {@link KapuaErrorCode}s.
19: *
20: * @since 1.0.0
21: */
22: public enum TranslatorErrorCodes implements KapuaErrorCode {
23:
24: /**
25: * @see InvalidMessageException
26: * @since 1.0.0
27: */
28: INVALID_MESSAGE,
29:
30: /**
31: * @see InvalidChannelException
32: * @since 1.0.0
33: */
34: INVALID_CHANNEL,
35:
36: /**
37: * @see InvalidPayloadException
38: * @since 1.0.0
39: */
40: INVALID_PAYLOAD,
41:
42: /**
43: * @see InvalidBodyEncodingException
44: * @since 1.5.0
45: */
46: INVALID_BODY_ENCODING,
47:
48: /**
49: * @see InvalidBodyContentException
50: * @since 1.5.0
51: */
52: INVALID_BODY_CONTENT,
53:
54: /**
55: * @see TranslatorNotFoundException
56: * @since 1.2.0
57: */
58: TRANSLATOR_NOT_FOUND,
59:
60: //
61: // Deprecated
62: //
63:
64: /**
65: * @since 1.0.0
66: * @deprecated Since 1.2.0. Moved to implementation module
67: */
68: @Deprecated
69: INVALID_CHANNEL_CLASSIFIER,
70:
71: /**
72: * @since 1.0.0
73: * @deprecated Since 1.2.0. Moved to implementation module
74: */
75: @Deprecated
76: INVALID_CHANNEL_APP_NAME,
77:
78: /**
79: * @since 1.0.0
80: * @deprecated Since 1.2.0. Moved to implementation module
81: */
82: @Deprecated
83: INVALID_CHANNEL_APP_VERSION,
84:
85: /**
86: * @since 1.0.0
87: * @deprecated Since 1.2.0. Moved to implementation module
88: */
89: @Deprecated
90: INVALID_BODY
91: }