in Java
ClientProtocolException extends IOException
my question is if I want to catch both individually for logging purposes
what should be the order of the catch clause and why?
} catch (ClientProtocolException e) {
throw Exception("got ClientProtocolException ")
} catch (IOException e) {
throw Exception("got IOException")
}