Added caught of exception for transformation algorithm.