Commit 08a26565 by xiaoyj

异常报错问题

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21640 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 5035349a
......@@ -28,7 +28,7 @@ public class BusinessException extends RuntimeException {
public static BusinessException create(String returnCode,String message){
BusinessException businessException = new BusinessException(null);
businessException.resultEntity = ResultObject.err(returnCode).message(message);
businessException.resultEntity = ResultObject.err(Integer.parseInt(returnCode)).message(message);
return businessException;
}
public static BusinessException create(ResultObject resultEntity){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!