org.elasticsearch.search
Class SearchParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticSearchException
org.elasticsearch.search.SearchException
org.elasticsearch.search.SearchContextException
org.elasticsearch.search.SearchParseException
- All Implemented Interfaces:
- Serializable
public class SearchParseException
- extends SearchContextException
- See Also:
- Serialized Form
Method Summary |
RestStatus |
status()
Returns the rest status code associated with this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SearchParseException
public SearchParseException(SearchContext context,
String msg)
SearchParseException
public SearchParseException(SearchContext context,
String msg,
Throwable cause)
status
public RestStatus status()
- Description copied from class:
ElasticSearchException
- Returns the rest status code associated with this exception.
- Overrides:
status
in class ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.