@Override public ConfigurationDefinition getConfigurationDefinitionForSender(String sender) throws RuntimeException { try { ConfigurationDefinition results = alertNotifManager.getConfigurationDefinitionForSender(sender); return SerialUtility.prepare(results, "getConfigurationDefinitionForSender"); } catch (Throwable t) { throw getExceptionToThrowToClient(t); } }
@Override public String[] getAllAlertSenders() throws RuntimeException { try { List<String> results = alertNotifManager.listAllAlertSenders(); if (results == null) { return null; } return SerialUtility.prepare( results.toArray(new String[results.size()]), "getAllAlertSenders"); } catch (Throwable t) { throw getExceptionToThrowToClient(t); } }