ErrorLog.log(Migration.class, "Failed to cache transformation structures.", ex);
}
private MappingTreeStructure reloadInputStructure(Transformation tf) throws MigrationInitializationException {
GetJtrCallback cb = new GetJtrCallback();
DataStructureToMappingTreeConverter converter = DataStructureToMappingTreeConverter.newInputStructureConverter();
MappingTreeStructure input = converter.getMappingStructure(tf.getInputStructure(), cb);
if( !cb.succeeded ) {
String msg = "Failed to load the source structure for the transformation \"" +
tf.getName() + "\": ";
Throwable th = cb.causeOfFailure;
throw new MigrationInitializationException(msg + th.getMessage(), th);