URL Errors - 404 Unknown & 500 Timeout
Posted: Sat Mar 03, 2012 5:21 pm
I'm a newbie with groovy and java.
When getting a URL
I can first test to ensure it exists and avoid 404 errors using this code
But how do I avoid or catch 500 errors like this
I'd like to catch them and retry rather than get an exception.
When getting a URL
I can first test to ensure it exists and avoid 404 errors using this code
But how do I avoid or catch 500 errors like this
I'd like to catch them and retry rather than get an exception.