diff --git a/Sample/Scattering/IFormFactor.cpp b/Sample/Scattering/IFormFactor.cpp index 3236a227183954646a3c9dd806ed91363c1bc402..d61b678dceab2f0c928e0d83300dd935555c2c55 100644 --- a/Sample/Scattering/IFormFactor.cpp +++ b/Sample/Scattering/IFormFactor.cpp @@ -66,9 +66,8 @@ IFormFactor* IFormFactor::createSlicedFormFactor(ZLimits limits, const IRotation return nullptr; if (canSliceAnalytically(rot)) return sliceFormFactor(limits, rot, translation); - throw std::runtime_error(className() - + "::createSlicedFormFactor error: not supported for " - "the given rotation!"); + throw std::runtime_error( + "Slicing of " + className() + " not supported for the given rotation!"); } Eigen::Matrix2cd IFormFactor::thePolFF(const WavevectorInfo&) const