CAMEL-6828: Fixed swalling caused exception.