This commit is contained in:
Spencer Gibb
2017-01-13 16:20:36 -07:00
parent 424cc79721
commit d37bdba31d
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ public class PredicateDefinition {
public PredicateDefinition(String text) {
int eqIdx = text.indexOf("=");
if (eqIdx <= 0) {
throw new ValidationException("Unable to parse Predicate text '" + text + "'" +
throw new ValidationException("Unable to parse PredicateDefinition text '" + text + "'" +
", must be of the form name=value");
}
setName(text.substring(0, eqIdx));

View File

@@ -32,7 +32,7 @@ public class Route {
public Route(String text) {
int eqIdx = text.indexOf("=");
if (eqIdx <= 0) {
throw new ValidationException("Unable to parse Predicate text '" + text + "'" +
throw new ValidationException("Unable to parse Route text '" + text + "'" +
", must be of the form name=value");
}