org.elasticsearch.indices
Class InvalidIndexNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticSearchException
org.elasticsearch.index.IndexException
org.elasticsearch.indices.InvalidIndexNameException
- All Implemented Interfaces:
- Serializable
public class InvalidIndexNameException
- extends IndexException
- 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 |
InvalidIndexNameException
public InvalidIndexNameException(Index index,
String name,
String desc)
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.