7374757677787980818283
} String msg = ex.getLocalizedMessage(); if (msg == null || msg.length() == 0) { Long id = form.getId(); if (findForm(id) == null) { throw new NonexistentEntityException("The form with id " + id + " no longer exists."); } } throw ex; } }
8889909192939495969798
Form form; try { form = em.getReference(Form.class, id); form.getId(); } catch (EntityNotFoundException enfe) { throw new NonexistentEntityException("The form with id " + id + " no longer exists.", enfe); } em.remove(form); utx.commit(); } catch (Exception ex) { try {
7879808182838485868788
} String msg = ex.getLocalizedMessage(); if (msg == null || msg.length() == 0) { Long id = formData.getId(); if (findFormData(id) == null) { throw new NonexistentEntityException("The form with id " + id + " no longer exists."); } } throw ex; } }
93949596979899100101102103
FormData formData; try { formData = em.getReference(FormData.class, id); formData.getId(); } catch (EntityNotFoundException enfe) { throw new NonexistentEntityException("The formData with id " + id + " no longer exists.", enfe); } em.remove(formData); utx.commit(); } catch (Exception ex) { try {