added EsRESTException class