Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.3
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
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.
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.