Hafas: Handle h2g error 19.

This commit is contained in:
Andreas Schildbach 2015-10-03 18:14:09 +02:00
parent 7af27c855b
commit 572909f8ed

View file

@ -2689,6 +2689,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
else if (errorCode == 13)
// IN13: Our booking system is currently being used by too many users at the same time.
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
else if (errorCode == 19)
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
else if (errorCode == 207)
// H207: Unfortunately your connection request can currently not be processed.
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);