{"action":"opened","issue":{"url":"https://api.github.com/repos/dangdangdotcom/dubbox/issues/46","labels_url":"https://api.github.com/repos/dangdangdotcom/dubbox/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/dangdangdotcom/dubbox/issues/46/comments","events_url":"https://api.github.com/repos/dangdangdotcom/dubbox/issues/46/events","html_url":"https://github.com/dangdangdotcom/dubbox/issues/46","id":96790601,"number":46,"title":"ExceptionFilter在tomcat下问题","user":{"login":"StoneFish","id":2100416,"avatar_url":"https://avatars.githubusercontent.com/u/2100416?v=3","gravatar_id":"","url":"https://api.github.com/users/StoneFish","html_url":"https://github.com/StoneFish","followers_url":"https://api.github.com/users/StoneFish/followers","following_url":"https://api.github.com/users/StoneFish/following{/other_user}","gists_url":"https://api.github.com/users/StoneFish/gists{/gist_id}","starred_url":"https://api.github.com/users/StoneFish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoneFish/subscriptions","organizations_url":"https://api.github.com/users/StoneFish/orgs","repos_url":"https://api.github.com/users/StoneFish/repos","events_url":"https://api.github.com/users/StoneFish/events{/privacy}","received_events_url":"https://api.github.com/users/StoneFish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T11:19:57Z","updated_at":"2015-07-23T11:19:57Z","closed_at":null,"body":"ExceptionFilter中\r\n```\r\n// 异常类和接口类在同一jar包里，直接抛出\r\nString serviceFile = ReflectUtils.getCodeBase(invoker.getInterface());\r\nString exceptionFile = ReflectUtils.getCodeBase(exception.getClass());\r\n```\r\n\r\n在tomcat下，serviceFile和exceptionFile值不相等，导致无法正确处理RuntimeException, Jetty\r\n中可以。有什么好的处理办法吗？现在暂时使用Exception代替RuntimeException"}}