events-be-servlet: exception handling improvements