@ExceptionHandler()
@ResponseBody
public String error(Exception e){
return "Error:"+e.getMessage();
}
@ExceptionHandler()
@ResponseBody
public String error(Exception e){
return "Error:"+e.getMessage();
}
本文标题:spirngmvc外的Exception或spring mvc没
本文链接:https://www.haomeiwen.com/subject/szmxvxtx.html
网友评论