XmlPullParserExceptions are wrapped into IOException

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@501 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-02-21 01:22:06 +00:00
parent e9f9e2055a
commit 725cef10c9

View file

@ -130,7 +130,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
}
catch (final XmlPullParserException x)
{
throw new RuntimeException(x);
throw new IOException(x);
}
finally
{
@ -369,7 +369,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
}
catch (final XmlPullParserException x)
{
throw new RuntimeException(x);
throw new IOException(x);
}
finally
{
@ -1028,7 +1028,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
}
catch (final XmlPullParserException x)
{
throw new RuntimeException(x);
throw new IOException(x);
}
finally
{
@ -1448,7 +1448,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
}
catch (final XmlPullParserException x)
{
throw new RuntimeException(x);
throw new IOException(x);
}
}