Ensuring final handling of TranformerExceptions thrown in factory