@@ -490,7 +490,7 @@ public final class IntrospectionHelper implements BuildListener {
String msg = getElementName(p, element)
String msg = getElementName(p, element)
+ " doesn't support the \"" + attributeName
+ " doesn't support the \"" + attributeName
+ "\" attribute.";
+ "\" attribute.";
throw new BuildException(msg );
throw new UnsupportedAttributeException(msg, attributeName );
}
}
}
}
try {
try {
@@ -564,7 +564,7 @@ public final class IntrospectionHelper implements BuildListener {
String elementName) {
String elementName) {
String msg = project.getElementName(parent)
String msg = project.getElementName(parent)
+ " doesn't support the nested \"" + elementName + "\" element.";
+ " doesn't support the nested \"" + elementName + "\" element.";
throw new BuildException(msg );
throw new UnsupportedElementException(msg, elementName );
}
}
private NestedCreator getNestedCreator(
private NestedCreator getNestedCreator(
@@ -825,7 +825,7 @@ public final class IntrospectionHelper implements BuildListener {
String msg = "Class " + bean.getName()
String msg = "Class " + bean.getName()
+ " doesn't support the nested \"" + elementName
+ " doesn't support the nested \"" + elementName
+ "\" element.";
+ "\" element.";
throw new BuildException(msg );
throw new UnsupportedElementException(msg, elementName );
}
}
return nt;
return nt;
}
}
@@ -848,7 +848,7 @@ public final class IntrospectionHelper implements BuildListener {
if (at == null) {
if (at == null) {
String msg = "Class " + bean.getName()
String msg = "Class " + bean.getName()
+ " doesn't support the \"" + attributeName + "\" attribute.";
+ " doesn't support the \"" + attributeName + "\" attribute.";
throw new BuildException(msg );
throw new UnsupportedAttributeException(msg, attributeName );
}
}
return at;
return at;
}
}
@@ -892,7 +892,7 @@ public final class IntrospectionHelper implements BuildListener {
String msg = "Class " + bean.getName()
String msg = "Class " + bean.getName()
+ " doesn't support the nested \"" + elementName
+ " doesn't support the nested \"" + elementName
+ "\" element.";
+ "\" element.";
throw new BuildException(msg );
throw new UnsupportedElementException(msg, elementName );
}
}
return ((NestedCreator) creator).method;
return ((NestedCreator) creator).method;
}
}
@@ -914,7 +914,7 @@ public final class IntrospectionHelper implements BuildListener {
if (setter == null) {
if (setter == null) {
String msg = "Class " + bean.getName()
String msg = "Class " + bean.getName()
+ " doesn't support the \"" + attributeName + "\" attribute.";
+ " doesn't support the \"" + attributeName + "\" attribute.";
throw new BuildException(msg );
throw new UnsupportedAttributeException(msg, attributeName );
}
}
return ((AttributeSetter) setter).method;
return ((AttributeSetter) setter).method;
}
}