Make new exception when network failure

Hi Everyone.

I have captured Reply Status when ping to a host… it will return result “Success” Or “TimeOut”… I haved define new exception if Reply Status is “TimeOut”

But it could not recognized this exception in Catch Block.

Is there any incorrect point in my process?

Thanks in advance!
1

@trunghai

Try to run the file instead debug mode

Hope this helps you

Thanks

1 Like

Thanks you bro.
I have fixed by myself

1 Like