Forum Discussion

Suhas's avatar
Suhas
Creator III
5 years ago

Timeout exception

Hello,

If method execution time is more then  timeout exception will occur it in that case method catch block will execute or not? 

Regard,

Suhas  

2 Replies

  • Hi Suhas,

    there is a timeout exception class available So yes, a timeout can trigger a catch block. But it may not work for all use cases.

    When I remember right, the WebClient class has no timeout property, so in this case it wouldn´t work and you have to google a workaround. 

  • Former Member's avatar
    Former Member
    Not applicable

    I tried many times but still can't find a solution on google bubble shooter