org.opentripplanner.graph_builder.issues.TurnRestrictionUnknown Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.DataImportIssue;
public class TurnRestrictionUnknown implements DataImportIssue {
public static final String FMT = "Invalid turn restriction tag %s in turn restriction %d";
public static final String HTMLFMT = "Invalid turn restriction tag %s in \"%d\"";
final String tagval;
final long relationId;
public TurnRestrictionUnknown(long relationId, String tagval){
this.relationId = relationId;
this.tagval = tagval;
}
@Override
public String getHTMLMessage() {
return String.format(FMT, tagval, relationId, relationId);
}
@Override
public String getMessage() {
return String.format(FMT, tagval, relationId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy