优化异常处理

This commit is contained in:
周浩
2016-05-12 18:29:43 +08:00
parent fb52ba994c
commit ee49a059b5
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.ServletRequestAttributes;

View File

@@ -23,6 +23,7 @@ import org.webbuilder.utils.common.ClassUtils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;