code: private void postDelete(UserProfile userProfile) throws Exception
     {
        for (UserProfileEventListener listener : listeners)
        {
           listener.postDelete(userProfile);
        }
     }
docs: Notifying listeners after profile deletion.
  
  @param userProfile
  the user profile which is used in delete operation
  @throws Exception
  if any listener failed to handle the event