mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +00:00
handle h2g error 891
This commit is contained in:
parent
24d7b9eb2b
commit
54616971e2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue