[jira] Created: (JDBI-7) Don't wrap RuntimeExceptions with CallbackFailedException

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (JDBI-7) Don't wrap RuntimeExceptions with CallbackFailedException

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Don't wrap RuntimeExceptions with CallbackFailedException
---------------------------------------------------------

                 Key: JDBI-7
                 URL: http://jira.codehaus.org/browse/JDBI-7
             Project: jDBI
          Issue Type: Improvement
            Reporter: Martin Traverso
            Assignee: Brian McCallister


Throwing user exceptions from within callbacks is inconvenient, as they are wrapped with CallbackFailedException and have to be unwrapped manually.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Updated: (JDBI-7) Don't wrap RuntimeExceptions with CallbackFailedException

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JDBI-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian McCallister updated JDBI-7:
---------------------------------

    Fix Version/s: 2.1

Adding to 2.1 as it is a behavior change, possibly backwards incompat so maybe should be 3.0. Need to think on

> Don't wrap RuntimeExceptions with CallbackFailedException
> ---------------------------------------------------------
>
>                 Key: JDBI-7
>                 URL: http://jira.codehaus.org/browse/JDBI-7
>             Project: jDBI
>          Issue Type: Improvement
>            Reporter: Martin Traverso
>            Assignee: Brian McCallister
>             Fix For: 2.1
>
>
> Throwing user exceptions from within callbacks is inconvenient, as they are wrapped with CallbackFailedException and have to be unwrapped manually.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Commented: (JDBI-7) Don't wrap RuntimeExceptions with CallbackFailedException

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JDBI-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108353 ]

Brian McCallister commented on JDBI-7:
--------------------------------------

Applied to Handle#inTransaction

Are there any other places?

> Don't wrap RuntimeExceptions with CallbackFailedException
> ---------------------------------------------------------
>
>                 Key: JDBI-7
>                 URL: http://jira.codehaus.org/browse/JDBI-7
>             Project: jDBI
>          Issue Type: Improvement
>            Reporter: Martin Traverso
>            Assignee: Brian McCallister
>             Fix For: 2.1
>
>
> Throwing user exceptions from within callbacks is inconvenient, as they are wrapped with CallbackFailedException and have to be unwrapped manually.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Resolved: (JDBI-7) Don't wrap RuntimeExceptions with CallbackFailedException

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JDBI-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian McCallister resolved JDBI-7.
----------------------------------

    Resolution: Fixed

Committed revision 263.


> Don't wrap RuntimeExceptions with CallbackFailedException
> ---------------------------------------------------------
>
>                 Key: JDBI-7
>                 URL: http://jira.codehaus.org/browse/JDBI-7
>             Project: jDBI
>          Issue Type: Improvement
>            Reporter: Martin Traverso
>            Assignee: Brian McCallister
>             Fix For: 2.1
>
>
> Throwing user exceptions from within callbacks is inconvenient, as they are wrapped with CallbackFailedException and have to be unwrapped manually.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email