34 throw std::runtime_error(
"Nothing registered.");
41 temp->createDefaultTransform();
48 throw std::invalid_argument(
"PeakTransformSelector could not find a suitable transform");
60 const std::string &labelY)
const {
62 throw std::invalid_argument(
"labelX is empty");
65 throw std::invalid_argument(
"labelY is empty");
68 throw std::runtime_error(
"Nothing registered.");
75 temp->createTransform(labelX, labelY);
83 ss <<
"PeakTransformSelector could not find a suitable transform for "
85 << labelX <<
" labelY " << labelY;
86 throw std::invalid_argument(ss.str());
102 }
catch (std::invalid_argument &) {
std::shared_ptr< PeakTransformFactory > PeakTransformFactory_sptr
Factory Shared Pointer typedef.