handle h2g error 891

This commit is contained in:
Andreas Schildbach 2012-08-19 16:16:58 +02:00
parent 24d7b9eb2b
commit 54616971e2

View file

@ -1569,7 +1569,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
{
if (errorCode == 1)
throw new SessionExpiredException();
else if (errorCode == 890)
else if (errorCode == 890 || errorCode == 891)
return new QueryConnectionsResult(header, QueryConnectionsResult.Status.NO_CONNECTIONS);
else if (errorCode == 9220)
return new QueryConnectionsResult(header, QueryConnectionsResult.Status.UNRESOLVABLE_ADDRESS);