public String[] getAlarms() throws ManagementException {
		try {
			Set<String> ids = new HashSet<String>();
			ids.addAll(alarmIdToAlarm.keySet());
			return ids.toArray(new String[ids.size()]);
		} catch (Exception e) {
			throw new ManagementException("Failed to get list of active alarms due to.", e);
		}
	}
public String[] getAlarms() throws ManagementException {
		try {
			Set<String> ids = new HashSet<String>();
			ids.addAll(alarmIdToAlarm.keySet());
			return ids.toArray(new String[ids.size()]);
		} catch (Exception e) {
			throw new ManagementException("Failed to get list of active alarms due to.", e);
		}
	}
public String [ ] getAlarms ( ) throws ManagementException { try { Set < String > ids = new HashSet < String > ( ) ; ids . addAll ( alarmIdToAlarm . keySet ( ) ) ; return ids . toArray ( new String [ ids . size ( ) ] ) ; } catch ( Exception e ) { throw new ManagementException ( "Failed to get list of active alarms due to." , e ) ; } }
/*
(non-Javadoc)
@see javax.slee.management.AlarmMBean#getAlarms()
/ * ( non - Javadoc )