public boolean clearAlarm(String alarmID) throws NullPointerException, ManagementException {
		if (alarmID == null) {
			throw new NullPointerException("AlarmID must not be null");
		}

		AlarmPlaceHolder aph = alarmIdToAlarm.remove(alarmID);
		placeHolderToNotificationSource.remove(aph);
		if (aph == null) {
			return false;
		} else {
			// we clear?
			try {
				generateNotification(aph, true);
			} catch (Exception e) {
				throw new ManagementException("Failed to clear alarm due to: " + e);
			}
			return true;
		}

	}
public boolean clearAlarm(String alarmID) throws NullPointerException, ManagementException {
		if (alarmID == null) {
			throw new NullPointerException("AlarmID must not be null");
		}

		AlarmPlaceHolder aph = alarmIdToAlarm.remove(alarmID);
		placeHolderToNotificationSource.remove(aph);
		if (aph == null) {
			return false;
		} else {
			
			try {
				generateNotification(aph, true);
			} catch (Exception e) {
				throw new ManagementException("Failed to clear alarm due to: " + e);
			}
			return true;
		}

	}
public boolean clearAlarm ( String alarmID ) throws NullPointerException , ManagementException { if ( alarmID == null ) { throw new NullPointerException ( "AlarmID must not be null" ) ; } AlarmPlaceHolder aph = alarmIdToAlarm . remove ( alarmID ) ; placeHolderToNotificationSource . remove ( aph ) ; if ( aph == null ) { return false ; } else { // we clear?
 try { generateNotification ( aph , true ) ; } catch ( Exception e ) { throw new ManagementException ( "Failed to clear alarm due to: " + e ) ; } return true ; } }
/*
(non-Javadoc)
@see javax.slee.management.AlarmMBean#clearAlarm(java.lang.String)
/ * ( non - Javadoc )