Package: ClientClosingException
ClientClosingException
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ClientClosingException(Throwable) |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2020, 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.service.elasticsearch.client.ElasticsearchClient;
16:
17: /**
18: * {@link ClientException} to throw when {@link ElasticsearchClient} fails to close properly.
19: *
20: * @since 1.3.0
21: */
22: public class ClientClosingException extends ClientException {
23:
24: /**
25: * Constructor.
26: *
27: * @param cause The root {@link Throwable} of this {@link ClientClosingException}.
28: * @since 1.3.0
29: */
30: public ClientClosingException(Throwable cause) {
31: super(ClientErrorCodes.CLIENT_CLOSING_ERROR, cause);
32: }
33: }