Forums Register Login

Using throws IOException

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
 

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:
It will give me the powers of the gods. Not bad for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3695 times.
Similar Threads
Dynamic IP address and socket programming.
Help debugging and running My GUI TCP Chatroom!
Sockets having identical port number
Help with Chat software
Socket Question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:26:48.