if (StringUtils.isEmpty(serviceSpecId) && StringUtils.isEmpty(serviceSpecName)) {
throw new BackendFunctionalException(HttpStatus.NOT_FOUND,
- "serviceSpecName or serviceSpecId must be provided");
+ "serviceSpecName or serviceSpecId must be provided","serviceSpecName or serviceSpecId must be provided");
}
String customerId = getCustomerId(clientId);
addRelatedPartyId(customerId, serviceInventoryResponse);
return serviceInventoryResponse;
} else {
- throw new BackendFunctionalException(HttpStatus.NOT_FOUND, "no catalog service found");
+ throw new BackendFunctionalException(HttpStatus.NOT_FOUND, "no catalog service found","no catalog service found");
}
}