All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codelibs.elasticsearch.runner.ClusterRunnerException Maven / Gradle / Ivy

There is a newer version: 7.10.2.0
Show newest version
package org.codelibs.elasticsearch.runner;

import org.elasticsearch.action.ActionResponse;

public class ClusterRunnerException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private ActionResponse response;

    public ClusterRunnerException(final String message, final Throwable cause) {
        super(message, cause);
    }

    public ClusterRunnerException(final String message) {
        super(message);
    }

    public ClusterRunnerException(final String message,
            final ActionResponse response) {
        this(message);
        this.response = response;
    }

    @SuppressWarnings("unchecked")
    public  T getActionResponse() {
        return (T) response;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy