mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +00:00
AbstractEfaProvider: Parse <tx> value in <err>.
This commit is contained in:
parent
1105bb20a6
commit
31187c28fe
1 changed files with 1 additions and 0 deletions
|
@ -1645,6 +1645,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
final String mod = XmlPullUtil.valueTag(pp, "mod");
|
||||
final String co = XmlPullUtil.valueTag(pp, "co");
|
||||
XmlPullUtil.optValueTag(pp, "u", null);
|
||||
XmlPullUtil.optValueTag(pp, "tx", null);
|
||||
if ("-2000".equals(co)) { // STOP_INVALID
|
||||
result.set(new QueryDeparturesResult(header, QueryDeparturesResult.Status.INVALID_STATION));
|
||||
} else if ("-4050".equals(co)) { // NO_SERVINGLINES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue