|
@@ -87,7 +87,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-vehicleRegisterQuery-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-vehicleRegisterQuery-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -123,7 +123,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-apiVehicleRegister-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-apiVehicleRegister-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -173,7 +173,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-wayBillStart-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-wayBillStart-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -215,7 +215,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-wayBillEnd-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-wayBillEnd-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -265,7 +265,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-wayBillHistoryStart-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-wayBillHistoryStart-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -306,7 +306,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-wayBillHistoryEnd-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-wayBillHistoryEnd-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -341,7 +341,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
throw new ServiceException(CommonConstant.QUERY_FAILED);
|
|
|
} catch (ApiRequestException apie) {
|
|
|
log.error("[-waiBillNumFindInvoice-] 错误信息:" + apie.getMessage());
|
|
|
- throw new ApiRequestException(apie.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new com.jkcredit.invoice.hub.spi.lang.exception.ApiRequestException(apie.getMessage());
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-waiBillNumFindInvoice-] 错误信息:" + se.getMessage());
|
|
|
throw new ServiceException(se.getMessage());
|
|
@@ -363,7 +363,7 @@ public class ApiCarFreeServiceImpl extends BaseService implements ApiCarFreeServ
|
|
|
return apiCarFreeChargeService.charge(po);
|
|
|
} catch (ServiceException se) {
|
|
|
log.error("[-findInvoice-] 错误信息:" + se.getMessage());
|
|
|
- throw new ApiRequestException(se.getMessage(), ApiResponseCodeEnum.CODE_200.getValue());
|
|
|
+ throw new ServiceException(se.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|