• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Himai Minh
Ranch Hand
Posts: 1360
7
  • 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
Pie
Posts: 2533
113
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic