异常处理器升级到 0.0.4-SNAPSHOT。
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package xyz.zhouxy.plusone;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TestController {
|
||||
@RequestMapping("/test")
|
||||
public String test() throws Exception {
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user