currentValue = ((Map) currentValue).get(qualifier);
}
else {
- throw new RuntimeException("cannot reference into anything other than a map");
+ throw new RuntimeException("cannot reference into anything other than a map ('"+qualifier+"')");
}
}
else if (token instanceof IdentifierToken) {
currentValue = ((Map) currentValue).get(qualifier);
}
else {
- throw new RuntimeException("cannot reference into anything other than a map");
+ throw new RuntimeException("cannot reference into anything other than a map ('"+qualifier+"')");
}
}
else if (token instanceof LeftParenthesisToken) {