if (httpResponse == null) {
throw new IllegalArgumentException("httpResponse == null");
}
// get/set the response code
ResponseCode coapCode = coapResponse.getCode();
String httpCodeString = HTTP_TRANSLATION_PROPERTIES.getProperty(KEY_COAP_CODE + coapCode.value);
if (httpCodeString == null || httpCodeString.isEmpty()) {
LOGGER.warning("httpCodeString == null");
throw new TranslationException("httpCodeString == null");