public synchronized void removeNotifications(String type) throws InstanceNotFoundException {
  Vector<Integer> v=getNotificationIDs(type);
  if (v.isEmpty())   throw new InstanceNotFoundException("Timer notifications to remove not in the list of notifications");
  for (  Integer i : v)   removeNotification(i);
}

public synchronized void removeNotifications ( String type ) throws InstanceNotFoundException { Vector < Integer > v = getNotificationIDs ( type ) ; if ( v . isEmpty ( ) ) throw new InstanceNotFoundException ( "Timer notifications to remove not in the list of notifications" ) ; for ( Integer i : v ) removeNotification ( i ) ; }
removes all the timer notifications corresponding to the specified type from the list of notifications .
