support every exceptions from elasticsearch 1.4