[jira] Created: (LINGO-43) async send doesn't work if method signature has a throws with Runtime Exception

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

[jira] Created: (LINGO-43) async send doesn't work if method signature has a throws with Runtime Exception

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

Reply to Author | View Threaded | Show Only this Message

async send doesn't work if method signature has a throws with Runtime Exception
-------------------------------------------------------------------------------

                 Key: LINGO-43
                 URL: http://jira.codehaus.org/browse/LINGO-43
             Project: Lingo
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Craig Baker
            Priority: Minor


Documentation states the method can't throw a checked exception for async sends to work. However when I add a Runtime exception to my method signature the aysnc sends don't work.

--
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: (LINGO-43) async send doesn't work if method signature has a throws with Runtime Exception

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

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LINGO-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92987 ]

james strachan commented on LINGO-43:
-------------------------------------

Hmm this is a tricky one. If a method has any kind of declared exceptions thrown, then strictly speaking the method can't become an async method, as the checked exception can never be thrown. Whether it derives from RuntimeException or Exception - a checked exception is a checked exception.

I guess if there is an explicit @Async annotation to mark a method as async-capable, we could ignore checked exceptions.

> async send doesn't work if method signature has a throws with Runtime Exception
> -------------------------------------------------------------------------------
>
>                 Key: LINGO-43
>                 URL: http://jira.codehaus.org/browse/LINGO-43
>             Project: Lingo
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Craig Baker
>            Priority: Minor
>
> Documentation states the method can't throw a checked exception for async sends to work. However when I add a Runtime exception to my method signature the aysnc sends don't work.

--
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