container/common/src/main/java/org/mobicents/slee/container/management/jmx/AlarmMBeanImpl.java
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 {
			// 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 { // 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 )