}
// javadoc inherited
public void setEventHandler(EventType eventType,
ScriptAssetReference handler) throws BuilderException {
MutableEventTarget item = getCurrentEventTarget();
if (item != null) {
try {
item.setEventHandler(eventType, handler);
} catch (Exception e) {
throw new BuilderException(e);
}
} else {
reportBadParent((eventType == null) ? "event handler" :