mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 18:48:49 +00:00
AbstractHafasClientInterfaceProvider: Handle Hafas kernel error 'H887'.
This commit is contained in:
parent
15d3b40125
commit
3591f05aa3
1 changed files with 2 additions and 0 deletions
|
@ -517,6 +517,8 @@ public abstract class AbstractHafasClientInterfaceProvider extends AbstractHafas
|
||||||
return new QueryTripsResult(header, QueryTripsResult.Status.TOO_CLOSE);
|
return new QueryTripsResult(header, QueryTripsResult.Status.TOO_CLOSE);
|
||||||
if ("H9220".equals(err)) // Nearby to the given address stations could not be found.
|
if ("H9220".equals(err)) // Nearby to the given address stations could not be found.
|
||||||
return new QueryTripsResult(header, QueryTripsResult.Status.UNRESOLVABLE_ADDRESS);
|
return new QueryTripsResult(header, QueryTripsResult.Status.UNRESOLVABLE_ADDRESS);
|
||||||
|
if ("H887".equals(err)) // HAFAS Kernel: Kernel computation time limit reached.
|
||||||
|
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
|
||||||
if ("H9240".equals(err)) // HAFAS Kernel: Internal error.
|
if ("H9240".equals(err)) // HAFAS Kernel: Internal error.
|
||||||
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
|
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
|
||||||
if ("H9360".equals(err)) // Date outside of the timetable period.
|
if ("H9360".equals(err)) // Date outside of the timetable period.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue