npe 오류 제거
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user