Errors.createNotFoundError

Creates a com.ebasetech.xi.services.HttpNotFoundError supplying an error message and the response code. This should be used when generating not found errors, for example the server responds with a 404 Not Found code

returns HttpNotFoundError

Parameters

java.lang.String  error,  int  code,