Connection failure due to proxy problems
Please suggest me that how to identify that any connection failure exception is caused due to proxy problems. I mean how can i differentiate the other connection failures vs proxy.
Objective: I have to display a message to user in my application (desktop app) saying that 'not able to connect to server due to proxy problems' if any problems occured in connecting to a site due to local proxy issues.
and also displaying different messages for connection request time out, session time out and etc.
Please let suggest the approach or any example will be greatly appreciated.
Thanks in advance.