* @param notification the notification to dispatch
* @throws RejectedExecutionException if the notification can't be queued for dispatching
*/
- void submitNotification( L listener, N notification )
- throws RejectedExecutionException;
+ void submitNotification( L listener, N notification );
/**
* Submits notifications to be queued and dispatched to the given listener.
* @param notifications the notifications to dispatch
* @throws RejectedExecutionException if a notification can't be queued for dispatching
*/
- void submitNotifications( L listener, Iterable<N> notifications )
- throws RejectedExecutionException;
+ void submitNotifications( final L listener, Iterable<N> notifications);
}
\ No newline at end of file