Questionsforum
If the URL given for HTTPGet is not valid then what will be the exception in Android App ?

If the URL given for HTTPGet is not valid then what will be the exception in Android App ?



On 2014-06-16 05:31:12.0
Abakasha


Is it

java.net.ConnectException

?



On 2014-06-16 05:51:03.0
hablu

It will throw UnKnownHostException which is a part of IOException



On 2014-06-16 06:16:02.0
Abakasha

copyright@questionsforum.net