diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/TransformationUtils.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/TransformationUtils.java index c1b3300e4514502834b6d18045e6f75810fe2e5f..61f2b3967c6223f5f5b6e0bce52a2360b9c754bf 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/TransformationUtils.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/TransformationUtils.java @@ -31,7 +31,7 @@ import org.fortiss.tooling.kernel.service.ITransformationService; * @author hoelzl * @author $Author$ * @version $Rev$ - * @ConQAT.Rating GREEN Hash: DE39D75CF0CFE6FCE886FFCFFF3B5046 + * @ConQAT.Rating YELLOW Hash: E1D7973CB847D9073FA00F6530407BC5 */ public final class TransformationUtils { @@ -62,9 +62,9 @@ public final class TransformationUtils { Object executableObject = null; for(TransformationProviderChain chain : chainList) { try { - // for the moment, we use the first chain - // alternatives need an interpretation of the context, which - // we do not use at the moment + // For the moment, we use the first chain. + // Alternatives need an interpretation of the context, which + // we do not use at the moment. executableObject = chain.transform(sourceElement, context); e = null; break; @@ -77,9 +77,6 @@ public final class TransformationUtils { return (T)executableObject; } } - if(e != null) { - throw new ChainTransformationFailedException(null, null, null, e); - } throw new NoTransformationChainFound(sourceElement, targetClass); } @@ -115,7 +112,6 @@ public final class TransformationUtils { public Class<?> getTargetClass() { return targetClass; } - } /**