Belle II Software light-2406-ragdoll
FitParameterDimensionException.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#include <stdexcept>
9#pragma once
10namespace TreeFitter {
12 class FitParameterDimensionException : public std::runtime_error {
13 public:
15 explicit FitParameterDimensionException(std::string const& msg):
16 runtime_error(msg)
17 {}
18 };
19}
exception template, runtime_error implements what()
FitParameterDimensionException(std::string const &msg)
throw a helpful message like this one.