public void addConfigured(File file) { try { file.perform(); childList.add(file); } catch (Exception e) { e.printStackTrace(); throw new BuildException("Failed to add file sub-element......."); } }