org.elasticsearch.hadoop.handler.Exceptional Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-spark-20_2.11 Show documentation
Show all versions of elasticsearch-spark-20_2.11 Show documentation
Elasticsearch Spark (for Spark 2.X)
package org.elasticsearch.hadoop.handler;
import java.util.List;
/**
* Any object that carries with it an internal Exception that details some kind of faulty operation or data.
*/
public interface Exceptional {
/**
* @return the internal exception information.
*/
Exception getException();
/**
* @return any logged messages from handlers earlier in the error handler chain for why they chose to pass on
* handling the error.
*/
List previousHandlerMessages();
}