Hi all
Please find attached another patch.
It fixes a bug introduced in recent changes to ContainerCopier. It was
the same bug we saw earlier this month, being building with Ant requires
casting ternary operators.
I've also modified BaseTransformer to NOT wrap RuntimeExceptions in a
TransformationException. This is really critical for us. If we have a
mutator method throw SomeBusinessException which extends
RuntimeException, it's necessary that SomeBusinessException is what
Morph eventually returns - not wrapped in a TransformationException.
There's no technical need for it in the case of a RuntimeException, so
that attached patch provides this enhancement. I hope you agree with
this change.
Cheers
Ben
|