You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2011/04/03 05:19:05 UTC

[jira] [Created] (SHIRO-281) Create DAO Exception Hierarchy and Exception Translator mechanism

Create DAO Exception Hierarchy and Exception Translator mechanism
-----------------------------------------------------------------

                 Key: SHIRO-281
                 URL: https://issues.apache.org/jira/browse/SHIRO-281
             Project: Shiro
          Issue Type: New Feature
            Reporter: Les Hazlewood
            Assignee: Les Hazlewood


Per this mailing list thread:

http://shiro-developer.582600.n2.nabble.com/DAO-exception-hierarchy-td6057981.html

Shiro does not currently distinguish between problems associated with the authentication/authorization workflow and orthogonal problems with the data resources themselves (connections, timeouts, invalid schema, etc).

By providing a DataAccessException hierarchy, Shiro users (and other frameworks) can distinguish between end-user related problems and resource/configuration related problems.

Furthermore, a Translation mechanism would allow conversion of API-specific exceptions into DataAccessExceptions (and vice versa).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira