/** Return the book */ public void returnBook() { try { bookOrderItemsService.returnBook(curentRetItemId); initDiscipleCurrentBookOrders(); } catch (Exception e) { e.printStackTrace(); FacesContext.getCurrentInstance() .addMessage( null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "Error: ", e.getMessage())); } }