@@ -35,7 +35,7 @@ const std::string DEFAULT_GEOMETRY = "EMCAL_COMPLETE12SMV1_DCAL_8SM";
3535// / \class InvalidModuleException
3636// / \brief Error Handling when an invalid module ID (outside the limits) is called
3737// / \ingroup EMCALbase
38- class InvalidModuleException : public std ::exception
38+ class InvalidModuleException final : public std::exception
3939{
4040 public:
4141 // / \brief Constructor
@@ -72,7 +72,7 @@ class InvalidModuleException : public std::exception
7272// / \class InvalidPositionException
7373// / \brief Exception handling errors due to positions not in the EMCAL area
7474// / \ingroup EMCALbase
75- class InvalidPositionException : public std ::exception
75+ class InvalidPositionException final : public std::exception
7676{
7777 public:
7878 // / \brief Constructor, setting the position raising the exception
@@ -109,7 +109,7 @@ class InvalidPositionException : public std::exception
109109// / \class InvalidCellIDException
110110// / \brief Exception handling non-existing cell IDs
111111// / \ingroup EMCALbase
112- class InvalidCellIDException : public std ::exception
112+ class InvalidCellIDException final : public std::exception
113113{
114114 public:
115115 // / \brief Constructor, setting cell ID raising the exception
@@ -139,7 +139,7 @@ class InvalidCellIDException : public std::exception
139139// / \class InvalidSupermoduleTypeException
140140// / \brief Exception handling improper or uninitialized supermodule types
141141// / \ingroup EMCALbase
142- class InvalidSupermoduleTypeException : public std ::exception
142+ class InvalidSupermoduleTypeException final : public std::exception
143143{
144144 public:
145145 // / \brief constructor
@@ -155,7 +155,7 @@ class InvalidSupermoduleTypeException : public std::exception
155155// / \class SupermoduleIndexException
156156// / \brief Handling error due to invalid supermodule
157157// / \ingroup EMCALbase
158- class SupermoduleIndexException : public std ::exception
158+ class SupermoduleIndexException final : public std::exception
159159{
160160 public:
161161 // / \brief Constructor, initializing the exception
@@ -192,7 +192,7 @@ class SupermoduleIndexException : public std::exception
192192// / \class RowColException
193193// / \brief Handling error for invalid positions in row-column space
194194// / \ingroup EMCALBase
195- class RowColException : public std ::exception
195+ class RowColException final : public std::exception
196196{
197197 public:
198198 // / \brief Constructor, initializing the exception with invalid row-column position
0 commit comments