{"action":"created","issue":{"url":"https://api.github.com/repos/java-women/ChatToolForBeginners/issues/48","repository_url":"https://api.github.com/repos/java-women/ChatToolForBeginners","labels_url":"https://api.github.com/repos/java-women/ChatToolForBeginners/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/java-women/ChatToolForBeginners/issues/48/comments","events_url":"https://api.github.com/repos/java-women/ChatToolForBeginners/issues/48/events","html_url":"https://github.com/java-women/ChatToolForBeginners/issues/48","id":153600716,"number":48,"title":"exceptionがハンドルできない","user":{"login":"cyoco","id":5705814,"avatar_url":"https://avatars.githubusercontent.com/u/5705814?v=3","gravatar_id":"","url":"https://api.github.com/users/cyoco","html_url":"https://github.com/cyoco","followers_url":"https://api.github.com/users/cyoco/followers","following_url":"https://api.github.com/users/cyoco/following{/other_user}","gists_url":"https://api.github.com/users/cyoco/gists{/gist_id}","starred_url":"https://api.github.com/users/cyoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyoco/subscriptions","organizations_url":"https://api.github.com/users/cyoco/orgs","repos_url":"https://api.github.com/users/cyoco/repos","events_url":"https://api.github.com/users/cyoco/events{/privacy}","received_events_url":"https://api.github.com/users/cyoco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cyoco","id":5705814,"avatar_url":"https://avatars.githubusercontent.com/u/5705814?v=3","gravatar_id":"","url":"https://api.github.com/users/cyoco","html_url":"https://github.com/cyoco","followers_url":"https://api.github.com/users/cyoco/followers","following_url":"https://api.github.com/users/cyoco/following{/other_user}","gists_url":"https://api.github.com/users/cyoco/gists{/gist_id}","starred_url":"https://api.github.com/users/cyoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyoco/subscriptions","organizations_url":"https://api.github.com/users/cyoco/orgs","repos_url":"https://api.github.com/users/cyoco/repos","events_url":"https://api.github.com/users/cyoco/events{/privacy}","received_events_url":"https://api.github.com/users/cyoco/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-07T15:35:37Z","updated_at":"2016-05-09T10:42:44Z","closed_at":null,"body":"https://github.com/java-women/ChatToolForBeginners/tree/add-validation\r\n\r\nvalidationチェック追加し、MethodArgumentNotValidExceptionをハンドルできるように、\r\nControllerクラスに@ExceptionHandlerを追加しましたが、下記のようなエラーが発生します。\r\n\r\n`ERROR 16674 --- [nboundChannel-7] s.a.s.SimpAnnotationMethodMessageHandler : Unhandled exception`\r\n\r\nちなみにController横断の@ControllerAdviceでクラス作成してみてもUnhandledになってしまいました。"},"comment":{"url":"https://api.github.com/repos/java-women/ChatToolForBeginners/issues/comments/217832391","html_url":"https://github.com/java-women/ChatToolForBeginners/issues/48#issuecomment-217832391","issue_url":"https://api.github.com/repos/java-women/ChatToolForBeginners/issues/48","id":217832391,"user":{"login":"erk5","id":12569705,"avatar_url":"https://avatars.githubusercontent.com/u/12569705?v=3","gravatar_id":"","url":"https://api.github.com/users/erk5","html_url":"https://github.com/erk5","followers_url":"https://api.github.com/users/erk5/followers","following_url":"https://api.github.com/users/erk5/following{/other_user}","gists_url":"https://api.github.com/users/erk5/gists{/gist_id}","starred_url":"https://api.github.com/users/erk5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erk5/subscriptions","organizations_url":"https://api.github.com/users/erk5/orgs","repos_url":"https://api.github.com/users/erk5/repos","events_url":"https://api.github.com/users/erk5/events{/privacy}","received_events_url":"https://api.github.com/users/erk5/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T10:42:44Z","updated_at":"2016-05-09T10:42:44Z","body":"そうですね。\r\n今回のハンズオンでやるには難しいですね。\r\nサーバでのバリデーションはなしにして、\r\nHTML側で入力フォームにmaxlength属性追加したらどうでしょうか？"}}