everyone. I have a rookie question about the returning value in java. Here\'s my code.
@Override public long addDrugTreatment(long id, String diagnosis, Stri
catch (JMSException e) { logger.severe("JMS Error: " + e); //You need to throw exception here or return something //better would be throw new Exception("JMS Error: " + e); }