Github user tgravescs commented on the pull request: https://github.com/apache/incubator-spark/pull/332#issuecomment-35773048 I think having a specialized Exception type could be useful. The times that could be useful that come to mind are: - if we expose it as API to users - Other parts of the Spark Code need to catch it and handle it in some way and we perhaps need different types - authentication vs authorized, etc.. Being security aware of course also means you don't want to give the user too much information as a hacker could then use that to focus their attack. I'm fine with changing it here if you want, otherwise perhaps we file a followup jira or wait til we have more of a use. Thoughts?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. To do so, please top-post your response. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---