• Post Reply Bookmark Topic Watch Topic
  • New Topic

"asyncMethod.get() will result in an ExecutionException"  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1514
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Frit's notes p. 17 , session 2.1.8,
"If the asynchronous method has return type Future<v> and an exception is thrown during the execution of the method (eg. asyncMethod is the asynchronous annotated method)
asyncMethod.get() will result in an ExecutionException..."

I think the last phrase should be "Future<v>. get() will result in an ExecutionException".
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 2921
205
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you are right!

Thanks, fixed and uploaded the new version.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!