void convertSlicingBusinessList(SlicingBusinessList slicingBusinessList, AAIServiceRsp aAIServiceRsp, int pageNo,
         int pageSize)
         throws InvocationTargetException, IllegalAccessException, IOException {
-        if (aAIServiceRsp.getaAIService() == null || aAIServiceRsp.getaAIService().size() == 0) {
+        if (aAIServiceRsp.getaAIService() == null || aAIServiceRsp.getaAIService().isEmpty()) {
             logger.error("convertSlicingBusinessList:aAIServiceRsp.getaAIService() is null or size is 0");
             return;
         }
 
     void getNsiInfoByBusiness(NsiInfo nsiInfo, String nsiId) {
         try {
-            // TODO
             AAIServiceAndInstance aaiServiceAndInstance = new AAIServiceAndInstance();
             Response<JSONObject> response = this.aaiSliceService
                 .listServiceById(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, nsiId)
         String modelInvariantId;
         String modelVersionId;
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.querySerAndSubInsByNSI(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G, nsiId).execute();
             if (response.isSuccessful()) {
                 return;
             }
         } catch (Exception e) {
-            logger.error(e.getMessage());
+            logger.error("Exception in getNstInfoByBusiness response",e);
             return;
         }
 
         try {
-            // TODO
             Response<AAIServiceNST> nstResponse = this.aaiSliceService.queryServiceNST(modelInvariantId, modelVersionId)
                 .execute();
             if (nstResponse.isSuccessful()) {
                 return;
             }
         } catch (Exception e) {
-            logger.error(e.getMessage());
+            logger.error("Exception in getNstInfoByBusiness nstResponse",e);
             return;
         }
     }
         throws IOException {
         List<AAIServiceAndInstance> aaiServiceAndInstanceList = new ArrayList<>();
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.queryAllottedResources(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G, businessId).execute();
             if (response.isSuccessful()) {
                 return "";
             }
         } catch (Exception e) {
-            logger.error(e.getMessage());
+            logger.error("Exception in getNsiIdByBusiness response",e);
             return "";
         }
         return "";
 
         AAIServiceProfiles aaiServiceProfiles = new AAIServiceProfiles();
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.getServiceProfiles(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G, businessId).execute();
 
                 }
             }
         } catch (Exception e) {
-            logger.error(e.getMessage());
+            logger.error("Exception in convertBusinessProfileDetails response",e);
+            
         }
 
         String useInterval = generalConvert.getUseInterval(businessId);
         for (String nssiId : nssiIdList) {
             i++;
             try {
-                // TODO
                 AAIServiceAndInstance aaiServiceAndInstance = new AAIServiceAndInstance();
                 Response<JSONObject> response = this.aaiSliceService
                     .listServiceById(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, nssiId)
                             response.message()));
                 }
             } catch (Exception e) {
-                logger.error(e.getMessage());
+                logger.error("Exception in getIncludedNssiInfoList response",e);
+                
             }
         }
     }
         throws IOException, InvocationTargetException, IllegalAccessException {
         for (String businessId : businessIdList) {
             try {
-                // TODO
                 // 添加给slicingTaskCreationProgress赋值的代码
                 AAIServiceAndInstance aaiServiceAndInstance = new AAIServiceAndInstance();
                 Response<JSONObject> response = this.aaiSliceService
                             response.message()));
                 }
             } catch (Exception e) {
-                logger.error(e.getMessage());
+                logger.error("Exception in getHostedBusinessInfoList response",e);
             }
         }
     }
         AAIServiceRsp aAIServiceRsp,
         int pageNo, int pageSize)
         throws InvocationTargetException, IllegalAccessException {
-        if (aAIServiceRsp.getaAIService() == null || aAIServiceRsp.getaAIService().size() == 0) {
+        if (aAIServiceRsp.getaAIService() == null || aAIServiceRsp.getaAIService().isEmpty()) {
             logger.error("convertNssiServiceInstanceList: aAIServiceRsp.getaAIService() is null or size is 0");
             return;
         }
         List<HostedNsiInfo> hostedNsiInfoList = new ArrayList<>();
         for (String nsiId : nsiIdList) {
             try {
-                // TODO
                 Response<JSONObject> response = this.aaiSliceService.querySerAndSubInsByNSI(NsmfParamConstant.CUSTOM_5G,
                     NsmfParamConstant.SERVICE_TYPE_5G, nsiId).execute();
                 if (response.isSuccessful()) {
                         response.message()));
                 }
             } catch (Exception e) {
-                logger.error(e.getMessage());
+                logger.error("Exception in convertNssiDetails response",e);
             }
         }
 
 
     public List<AAIServiceAndInstance> queryAllottedResourceUtil(JSONObject objectResource) {
         JSONArray arrayResource = objectResource.getJSONArray("allotted-resource");
-        if (arrayResource == null || arrayResource.size() == 0) {
+        if (arrayResource == null || arrayResource.isEmpty()) {
             logger.error("arrayResource is null or size is 0");
             return null;
         }
 
         String resultMsg;
 
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService
                 .listService(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing business instances query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in querySlicingBusiness response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
         AAIServiceRsp aAIServiceRsp = new AAIServiceRsp();
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.listServiceByStatus(
                 NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, processingStatus).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing business instances query based on status failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in querySlicingBusinessByStatus response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService
                 .listServiceById(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, businessId)
                 .execute();
         } catch (Exception e) {
             resultMsg = "5G slicing business details query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in querySlicingBusinessDetails response",e);
         }
 
         logger.info(resultMsg);
 
         String resultMsg;
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService
                 .listServiceNSI(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing NSI service instances query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNsiInstances response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.listServiceNSIByStatus(
                 NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, instanceStatus).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing NSI service instances based on status query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNsiInstancesByStatus response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.querySerAndSubInsByNSI(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G, serviceInstanceId).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing business details query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNsiDetails response",e);
         }
 
         logger.info(resultMsg);
         NsiRelatedNssiInfo nsiRelatedNssiInfo = new NsiRelatedNssiInfo();
         String resultMsg;
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService
                 .querySerAndSubInsByNSI(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, nsiId)
                 .execute();
         } catch (Exception e) {
             resultMsg = "NSSI associated with NSI query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNsiRelatedNssiInfo response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
         AAIServiceRsp aAIServiceRsp = new AAIServiceRsp();
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService
                 .listServiceNSSI(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing NSSI service instances query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNssiInstances response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
         AAIServiceRsp aAIServiceRsp = new AAIServiceRsp();
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.listServiceNSSIByStatus(
                 NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, instanceStatus).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing NSSI service instances based on status query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNssiInstancesByStatus response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
         AAIServiceRsp aAIServiceRsp = new AAIServiceRsp();
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService.listServiceNSSIByEnv(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G, environmentContext).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing NSSI service instances based on environment query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNssiInstancesByEnvironment response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             Response<JSONObject> response = this.aaiSliceService
                 .queryNSIByNSSI(NsmfParamConstant.CUSTOM_5G, NsmfParamConstant.SERVICE_TYPE_5G, nssiId).execute();
             if (response.isSuccessful()) {
         } catch (Exception e) {
             resultMsg = "5G slicing service nssi details query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryNssiDetails response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             SubscriberInfo subscriberInfo = resourceMgtServiceConvert.buildSubscriberInfo(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G);
             String jsonstr = JSON.toJSONString(subscriberInfo);
         } catch (Exception e) {
             resultMsg = "5G slicing service activation failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in activateSlicingService response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             SubscriberInfo subscriberInfo = resourceMgtServiceConvert.buildSubscriberInfo(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G);
             String jsonstr = JSON.toJSONString(subscriberInfo);
         } catch (Exception e) {
             resultMsg = "5G slicing service deactivation failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in deactivateSlicingService response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg;
 
         try {
-            // TODO
             SubscriberInfo subscriberInfo = resourceMgtServiceConvert.buildSubscriberInfo(NsmfParamConstant.CUSTOM_5G,
                 NsmfParamConstant.SERVICE_TYPE_5G);
             String jsonstr = JSON.toJSONString(subscriberInfo);
         } catch (Exception e) {
             resultMsg = "5G slicing service termination failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in terminateSlicingService response",e);
         }
 
         logger.info(resultMsg);
         String resultMsg = "";
 
         try {
-            // TODO
             ServiceInstanceOperations serviceInstanceOperations = serviceLcmService
                 .getServiceInstanceOperationById(serviceId);
             if (serviceInstanceOperations != null) {
         } catch (Exception e) {
             resultMsg = "5G slicing service operation progress query failed. Unknown exception occurred!";
             resultHeader.setResult_code(NsmfCodeConstant.ERROR_CODE_UNKNOWN);
-            logger.error(e.getMessage());
+            logger.error("Exception in queryOperationProgress response",e);
         }
 
         logger.info(resultMsg);