8990919293949596979899100101
throw new IllegalArgumentException(e); } } public Question addQuestion(User owner, String question) { Question q = new Question(); q.setQuestion(question); q.setUser(owner); q.setTimestamp(new Date()); em.persist(q); addLinked(owner, q); return q; }