표준전문 오류 응답 유형 변경 [광주은행오류코드] 오류메시지 (오류설명)
This commit is contained in:
@@ -676,9 +676,10 @@ public abstract class DefaultProcess extends Process {
|
||||
String errorResponseHandlerClass = AdapterPropManager.getInstance().getProperty(inboundAdapterVO.getPropGroupName(), "ERR_MSG_HANDLER");
|
||||
if(StringUtils.isBlank(errorResponseHandlerClass)) {
|
||||
this.resEaiMsg.setRspErrCd("RECEAIINA001", false);
|
||||
// String errorCode = mapper.getErrorCode(resStandardMessage);
|
||||
String errorMsg = mapper.getErrorMsg(resStandardMessage);
|
||||
this.resEaiMsg.setRspErrMsg(errorMsg);
|
||||
String errorCode = mapper.getErrorCode(resStandardMessage);
|
||||
String errorMsg = StringUtils.trim(mapper.getErrorMsg(resStandardMessage));
|
||||
String errorDesc = StringUtils.trim(resStandardMessage.findItemValue("Message.Msg_Body.OUTPUT_MSG_DESC"));
|
||||
this.resEaiMsg.setRspErrMsg(String.format("[%s] %s (%s)", errorCode, errorMsg, errorDesc));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user