@ SuppressWarnings ( "checkstyle:hiddenfield" ) public < T , U extends T > void register ( final Class < T > type , final Set < EventHandler < U > > handlers ) { this . handlers . put ( type , new ExceptionHandlingEventHandler <> ( new BroadCastEventHandler <> ( handlers ) , this . errorHandler ) ) ; }
Register a new event handler .