public boolean hasNext() {
try {
return i.hasNext();
}
catch(TemplateModelException e) {
throw new UndeclaredThrowableException(e);
}
}
public Object next() {
try {
return wrapper.unwrap(i.next());
}
catch(TemplateModelException e) {
throw new UndeclaredThrowableException(e);
}
}
public void remove() {
throw new UnsupportedOperationException();
}
};
}
catch(TemplateModelException e) {
throw new UndeclaredThrowableException(e);
}
}