errorcode 선언수정

This commit is contained in:
2210045
2026-02-26 11:08:04 +09:00
parent 5c14a7ce0b
commit 58bf67715f
@@ -24,10 +24,10 @@ public abstract class Command implements Serializable {
/** Command Arguments */ /** Command Arguments */
protected Object args; protected Object args;
private HashMap<String,String> errorCode ; private static final HashMap<String,String> errorCode = new HashMap<>();
static { static {
errorCode = new HashMap<String,String>(); //HashMap<String,String> errorCode = new HashMap<String,String>();
errorCode.put("RECEAIMCM001", "Command 이름[{1}] 유효하지 않은 파라메터 타입 - {2}"); errorCode.put("RECEAIMCM001", "Command 이름[{1}] 유효하지 않은 파라메터 타입 - {2}");
errorCode.put("RECEAIMCM002", "Command 이름[{1}] execute 메소드 실행중 에러가 발생 - {2}"); errorCode.put("RECEAIMCM002", "Command 이름[{1}] execute 메소드 실행중 에러가 발생 - {2}");
} }