Create customGenericEventHandler.java