MULE-7748: Improved exception handling.