If the URL given in HTTPGet request is not valid then what is the exception that will be thrown, in an android application?
It will throw run time exception, i.e IOException
It will throw compile time exception, i.e IOException
It will throw run time exception, i.e CLientProtocolException.
It will not compile only.
If url is wrong then, it will throw UnknownHostException which is part of IOException.
Back To Top