{"author_url":"https://blog.hatena.ne.jp/excite-naka-sho/","blog_title":"\u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.","blog_url":"https://tech.excite.co.jp/","provider_url":"https://hatena.blog","description":"\u30a8\u30ad\u30b5\u30a4\u30c8\u682a\u5f0f\u4f1a\u793e\u306e\u4e2d\u5c3e\u3067\u3059\u3002 SpringBoot\u3067exception\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u3001\u7279\u5b9a\u306e\u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u8fd4\u3059\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002 \u4ee5\u4e0b\u3001\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002 @RestControllerAdvice @Slf4j public class ExceptionController { @ExceptionHandler({BadRequestException.class}) @ResponseStatus(HttpStatus.BAD_REQUEST) public String handleBindException(Exception exception) { this.writeL\u2026","published":"2021-09-08 12:00:00","author_name":"excite-naka-sho","title":"RestControllerAdvice\u306b\u3064\u3044\u3066","version":"1.0","image_url":null,"width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2021%2F09%2F07%2F102738\" title=\"RestControllerAdvice\u306b\u3064\u3044\u3066 - \u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_name":"Hatena Blog","categories":[],"url":"https://tech.excite.co.jp/entry/2021/09/07/102738"}