[Bug #927] change standard way to manage this exception
change standard way to manage this exception for adding an input in Log if it produce an exception. FEA : ItEr72S04BugFixing
This commit is contained in:
parent
838466ea22
commit
c49d837be8
1 changed files with 6 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ import java.util.List;
|
|||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.navalplanner.business.orders.entities.OrderElement;
|
||||
import org.navalplanner.business.templates.entities.OrderElementTemplate;
|
||||
import org.navalplanner.web.common.IMessagesForUser;
|
||||
|
|
@ -98,6 +99,9 @@ public class OrderTemplatesController extends GenericForwardComposer implements
|
|||
|
||||
private EditTemplateWindowController editTemplateController;
|
||||
|
||||
private static final org.apache.commons.logging.Log LOG = LogFactory
|
||||
.getLog(OrderTemplatesController.class);
|
||||
|
||||
public List<OrderElementTemplate> getTemplates() {
|
||||
return model.getRootTemplates();
|
||||
}
|
||||
|
|
@ -366,8 +370,8 @@ public class OrderTemplatesController extends GenericForwardComposer implements
|
|||
}
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
LOG.error(_("Error on showing delete confirm"), e);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue