Issue with client.admin().cluster().prepareGetSnapshots(...)

The call to prepareGetSnapshots(...) for getting a snapshot which is not
existing, throws SnapshotMissingException. But I expect instead it should
return response with a list of zero snapshots(getSnapshots()) or atleast
isExist=false

Is there any other way one can check the existence of a snapshot?

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3d5f4027-2db0-4da1-86a9-adbd117ec7d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.