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  

Parents
  • 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. 

Reply
  • 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. 

Children
No Data