Skip to content

Package: ClientErrorCodes

ClientErrorCodes

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) 2017, 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.service.elasticsearch.client.exception;
14:
15: import org.eclipse.kapua.KapuaErrorCode;
16:
17: /**
18: * {@link ClientException} {@link KapuaErrorCode}s
19: *
20: * @since 1.0.0
21: */
22: public enum ClientErrorCodes implements KapuaErrorCode {
23:
24: /**
25: * See {@link ClientUnavailableException}.
26: *
27: * @since 1.0.0
28: */
29: CLIENT_UNAVAILABLE,
30:
31: /**
32: * See {@link ClientInitializationException}.
33: *
34: * @since 1.3.0
35: */
36: CLIENT_INITIALIZATION_ERROR,
37:
38: /**
39: * See @{@link ClientProviderInitException}
40: *
41: * @since 1.3.0
42: */
43: CLIENT_PROVIDER_INIT_ERROR,
44:
45: /**
46: * See {@link ClientClosingException}.
47: *
48: * @since 1.3.0
49: */
50: CLIENT_CLOSING_ERROR,
51:
52: /**
53: * See {@link DatamodelMappingException}.
54: *
55: * @since 1.0.0
56: */
57: DATAMODEL_MAPPING_EXCEPTION,
58:
59: /**
60: * See {@link QueryMappingException}.
61: *
62: * @since 1.0.0
63: */
64: QUERY_MAPPING_EXCEPTION,
65:
66: /**
67: * Error on performed action.
68: *
69: * @since 1.0.0
70: */
71: ACTION_ERROR,
72:
73: /**
74: * See @{@link ClientCommunicationException}.
75: *
76: * @since 1.0.0
77: */
78: CLIENT_COMMUNICATION_ERROR,
79:
80: /**
81: * See {@link ClientInternalError}.
82: *
83: * @since 1.3.0
84: */
85: INTERNAL_ERROR,
86:
87: /**
88: * See {@link ClientActionResponseException}
89: *
90: * @since 1.3.0
91: */
92: ACTION_RESPONSE_ERROR
93: }