git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@961313
13f79535-47bb-0310-9956-
ffa450edef68
@Override
public void setImage(String image) {
if (!Validation.isIdentifier(image)) {
- throw new ELException("Can't use Java keyword as identifier");
+ throw new ELException("[" + image +
+ "] is not a valid Java identifier");
}
this.image = image;
}
@Override
public void setImage(String image) {
if (!Validation.isIdentifier(image)) {
- throw new ELException("Can't use Java keyword as identifier");
+ throw new ELException("[" + image +
+ "] is not a valid Java identifier");
}
this.image = image;
}