Class IndexNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
All Implemented Interfaces:
java.io.Serializable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public final class IndexNotFoundException
extends ResourceNotFoundException
See Also:
Serialized Form
  • Constructor Details

    • IndexNotFoundException

      public IndexNotFoundException​(java.lang.String message, java.lang.String index)
      Construct with a custom message.
    • IndexNotFoundException

      public IndexNotFoundException​(java.lang.String index)
    • IndexNotFoundException

      public IndexNotFoundException​(java.lang.String index, java.lang.Throwable cause)
    • IndexNotFoundException

      public IndexNotFoundException​(Index index)
    • IndexNotFoundException

      public IndexNotFoundException​(Index index, java.lang.Throwable cause)
    • IndexNotFoundException

      public IndexNotFoundException​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException