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