public void fireEvent(final SPARQLUpdateEvent e){
  if (isReadOnly())   throw new UnsupportedOperationException();
  if (e == null)   throw new IllegalArgumentException();
  if (listeners.isEmpty()) {
    return;
  }
  final ISPARQLUpdateListener[] a=listeners.toArray(new ISPARQLUpdateListener[0]);
  for (  ISPARQLUpdateListener l : a) {
    final ISPARQLUpdateListener listener=l;
    try {
      listener.updateEvent(e);
    }
 catch (    Throwable t) {
      if (InnerCause.isInnerCause(t,InterruptedException.class)) {
        throw new RuntimeException(t);
      }
      log.error(t,t);
    }
  }
}

public void fireEvent ( final SPARQLUpdateEvent e ) { if ( isReadOnly ( ) ) throw new UnsupportedOperationException ( ) ; if ( e == null ) throw new IllegalArgumentException ( ) ; if ( listeners . isEmpty ( ) ) { return ; } final ISPARQLUpdateListener [ ] a = listeners . toArray ( new ISPARQLUpdateListener [ 0 ] ) ; for ( ISPARQLUpdateListener l : a ) { final ISPARQLUpdateListener listener = l ; try { listener . updateEvent ( e ) ; } catch ( Throwable t ) { if ( InnerCause . isInnerCause ( t , InterruptedException . class ) ) { throw new RuntimeException ( t ) ; } log . error ( t , t ) ; } } }
send an event to all registered listeners .
