catches thrown exception TransformException