mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
handle h2g error 895
This commit is contained in:
parent
be66746299
commit
e4d0567710
1 changed files with 1 additions and 1 deletions
|
@ -1570,7 +1570,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
return new QueryConnectionsResult(header, QueryConnectionsResult.Status.SERVICE_DOWN);
|
||||
else if (errorCode == 9360)
|
||||
return new QueryConnectionsResult(header, QueryConnectionsResult.Status.INVALID_DATE);
|
||||
else if (errorCode == 9380) // start/end same location
|
||||
else if (errorCode == 9380 || errorCode == 895)
|
||||
return new QueryConnectionsResult(header, QueryConnectionsResult.Status.TOO_CLOSE);
|
||||
else
|
||||
throw new IllegalStateException("error " + errorCode + " on " + uri);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue