mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 18:29:51 +00:00
Hafas: Handle h2g error 2.
This commit is contained in:
parent
f4a360615f
commit
52207db349
1 changed files with 3 additions and 0 deletions
|
@ -2730,6 +2730,9 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
||||||
}
|
}
|
||||||
else if (errorCode == 1)
|
else if (errorCode == 1)
|
||||||
throw new SessionExpiredException();
|
throw new SessionExpiredException();
|
||||||
|
else if (errorCode == 2)
|
||||||
|
// F2: Your search results could not be stored internally.
|
||||||
|
throw new SessionExpiredException();
|
||||||
else if (errorCode == 8)
|
else if (errorCode == 8)
|
||||||
return new QueryTripsResult(header, QueryTripsResult.Status.AMBIGUOUS);
|
return new QueryTripsResult(header, QueryTripsResult.Status.AMBIGUOUS);
|
||||||
else if (errorCode == 13)
|
else if (errorCode == 13)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue