Package org.elasticsearch.common.util.concurrent

Examples of org.elasticsearch.common.util.concurrent.UncategorizedExecutionException


            throw new ElasticSearchInterruptedException(e.getMessage());
        } catch (ExecutionException e) {
            if (e.getCause() instanceof ElasticSearchException) {
                throw (ElasticSearchException) e.getCause();
            } else {
                throw new UncategorizedExecutionException("Failed execution", e);
            }
        }
    }
View Full Code Here


            throw new ElasticSearchInterruptedException(e.getMessage());
        } catch (ExecutionException e) {
            if (e.getCause() instanceof ElasticSearchException) {
                throw (ElasticSearchException) e.getCause();
            } else {
                throw new UncategorizedExecutionException("Failed execution", e);
            }
        }
    }
View Full Code Here

            ElasticsearchException esEx = (ElasticsearchException) e.getCause();
            Throwable root = esEx.unwrapCause();
            if (root instanceof ElasticsearchException) {
                return (ElasticsearchException) root;
            }
            return new UncategorizedExecutionException("Failed execution", root);
        } else {
            return new UncategorizedExecutionException("Failed execution", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.common.util.concurrent.UncategorizedExecutionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.