Use Java-exception-aware task decorator for hazard tasks.
Use Java-exception-aware task decorator for hazard tasks.


Former-commit-id: 76a20a4ab8ff4a5a0fe1c961efd057a29fb28f66
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine