Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using throws IOException  RSS feed

 
dushantha Rathnayake
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have this code.But I don't know how to call to senderEngine method. please tell me how to call to senderEngine method.



Thank you.
 
Vijitha Kumara
Bartender
Posts: 3992
27
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dushantha Rathnayake wrote:I have this code.But I don't know how to call to senderEngine method. please tell me how to call to senderEngine method...

Calling method should catch any checked exceptions (in this case IOException is a checked exception) thrown by the called method or propagate them to the next level by throwing them to the caller of itself. That depends on the usage of the method.
Example of handling the exception:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!