OpenMS/OpenMS — pull request #911 by aiche (2014-07-29 12:05:20+00:00)
Title: [FIX] FFCentroided replace exception handling with proper check

In ff centroided the precondition of findNearest was handled by adding a try/catch around it instead of properly checking the pre-condition itself. This commit replaces the try/catch with a corresponding check.

see #908 (partial fix)