Mark Struberg wrote:
It throws the checked IOException and XmlPullParserException, but can it also throw unchecked Exceptions under 'normal' conditions?
AFAIK no.
So I'm not sure if I should add a catch (Exception e) instead of the 2 checked exceptions, or if all sane cases are already wrapped in XmlPullParserException.
Handling just XmlPullParserException is not enough as IOException can also occur. So the generic catch (Exception) should fit your needs I think.
Benjamin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
