Added a try catch block and documented an unusual exception in
ImageTransformer