npe 오류 제거

This commit is contained in:
2210045
2026-02-26 10:47:02 +09:00
parent 199063b068
commit eff2a81745
@@ -94,9 +94,10 @@ public abstract class Command implements Serializable {
else{ else{
msgArgs[1] = cause.getMessage(); msgArgs[1] = cause.getMessage();
} }
String msg = makeMessage((String)errorCode.get(rspErrorCode),msgArgs) ; if(this.errorCode != null)
return makeMessage((String)errorCode.get(rspErrorCode),msgArgs) ;
return msg; else
return "error";
} }
protected static String makeMessage(String msg, String[] args) { protected static String makeMessage(String msg, String[] args) {