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{
msgArgs[1] = cause.getMessage();
}
String msg = makeMessage((String)errorCode.get(rspErrorCode),msgArgs) ;
return msg;
if(this.errorCode != null)
return makeMessage((String)errorCode.get(rspErrorCode),msgArgs) ;
else
return "error";
}
protected static String makeMessage(String msg, String[] args) {