MongoDocumentStore.query() currently throws a MongoException when a query to MongoDB fails. The implementation should rather throw a DocumentStoreException and wrap the underlying MongoException.
MongoDocumentStore.query() currently throws a MongoException when a query to MongoDB fails. The implementation should rather throw a DocumentStoreException and wrap the underlying MongoException.