This is not correct. The code is capturing a Exception from Zend\Stdlib domain and transforming it into the Zend\Text domain,