Errors.createUnknownError

Creates a com.ebasetech.xi.services.HttpUnknownError supplying an error message and the response code. This should be used when generating an Unknown Error, for example the HTTP code is not recognized

returns HttpUnknownError

Parameters

java.lang.String  error,  int  code,