public class SearchPhaseExecutionException extends ElasticsearchException
ElasticsearchException.WithRestHeaders
Constructor and Description |
---|
SearchPhaseExecutionException(String phaseName,
String msg,
ShardSearchFailure[] shardFailures) |
SearchPhaseExecutionException(String phaseName,
String msg,
Throwable cause,
ShardSearchFailure[] shardFailures) |
Modifier and Type | Method and Description |
---|---|
String |
phaseName() |
ShardSearchFailure[] |
shardFailures() |
RestStatus |
status()
Returns the rest status code associated with this exception.
|
contains, getDetailedMessage, getMostSpecificCause, getRootCause, unwrapCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SearchPhaseExecutionException(String phaseName, String msg, ShardSearchFailure[] shardFailures)
public SearchPhaseExecutionException(String phaseName, String msg, Throwable cause, ShardSearchFailure[] shardFailures)
public RestStatus status()
ElasticsearchException
status
in class ElasticsearchException
public String phaseName()
public ShardSearchFailure[] shardFailures()
Copyright © 2009–2015. All rights reserved.