Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] InterpolationException thrown by StringSearchInterpolator?

Hi Martin,


I have a question about the exception handling in the Interpolator class: as far as I can see, you have explicitly added an InterpolationException type which allows Tycho to ignore when an interpolation fails. Now my question is: Do you have a use case for this? I.e. are you aware of a situation in which these InterpolationExceptions are thrown and in which it is required that the build only warns but does not fail?


From what I can see in the StringSearchInterpolator tests [1], that class only ever throws exceptions in very obscure cases.


So, is it okay if I let the build fail in case of an InterpolationException [2]. This makes things a little bit easier for me.


All the best







Back to the top