Is there a reason why this class is getting `handled_exceptions` as a parameter in the constructor ?