public TemplateModel get(int index) throws TemplateModelException { try { return wrap(Array.get(object, index)); } catch (IndexOutOfBoundsException e) { return null; // throw new TemplateModelException("Index out of bounds: " + index); } }
public TemplateModel get(int index) throws TemplateModelException { try { return wrap(Array.get(object, index)); } catch (IndexOutOfBoundsException e) { return null; // throw new TemplateModelException("Index out of bounds: " + index); } }
public TemplateModel get(int index) throws TemplateModelException { try { return wrap(Array.get(object, index)); } catch (IndexOutOfBoundsException e) { return null; // throw new TemplateModelException("Index out of bounds: " + index); } }
public TemplateModel get(int index) throws TemplateModelException { try { return wrap(Array.get(object, index)); } catch(IndexOutOfBoundsException e) { return null; // throw new TemplateModelException("Index out of bounds: " + index); } }