4950515253545556575859
reader.close(); return content; } catch (MalformedURLException e) { throw new ServiceException(e.getMessage()); } catch (IOException e) { throw new ServiceException(e.getMessage()); } }
158159160161162163164165166167
try { mailService.send(new MailService.Message(sender, to, subject, textBody)); } catch (IOException e) { throw new ServiceException( "Sending email with share notification failed.", e); } }
6566676869707172
try { mailService.send(new Message(sender, ADMIN, "[Bio-Mixer Feedback]", content.toString())); } catch (IOException e) { throw new ServiceException(e); } }
3637383940414243
try { return taskExecutor.execute(task); } catch (ServiceException e) { throw e; } catch (Exception e) { throw new ServiceException(e); } }
676869707172737475
} return resources; } catch (Exception e) { throw new ServiceException(e.getMessage(), e); } }