Add checked exception for terminal operations that create files
If an exception occurs while transforming, a RuntimeException
is thrown.
This will terminate the program which is normally not wanted.
Change to a new, checked exception (like TransformationException
).