added CASCADE_OVERRIDE_ERROR_HANDLER flag