Exemplo n.º 1
0
 void invokeSubscriber(Subscription subscription, Object event) {
   try {
     subscription.subscriberMethod.method.invoke(subscription.subscriber, event);
   } catch (InvocationTargetException e) {
     handleSubscriberException(subscription, event, e.getCause());
   } catch (IllegalAccessException e) {
     throw new IllegalStateException("Unexpected exception", e);
   }
 }