private void postDelete(UserProfile userProfile) throws Exception
   {
      for (UserProfileEventListener listener : listeners)
      {
         listener.postDelete(userProfile);
      }
   }
private void postDelete ( UserProfile userProfile ) throws Exception { for ( UserProfileEventListener listener : listeners ) { listener . postDelete ( userProfile ) ; } }
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