Quantcast

Have a Question?

If you have any question you can ask below or enter what you are looking for!

How do I catch timeout exception?

3 Answers. You indeed cannot catch it as a SocketTimeoutException. What is possible is to catch the RemoteException, retrieve it’s cause and check if that’s an instanceof SocketTimeoutException.

techfaq.online