|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Base class for failures triggered by a benchmark-recommended adaptation that the active policy refuses to perform. More...
#include <mitkSUVCalculationHelper.h>


Public Member Functions | |
| mitkExceptionClassMacro (BenchmarkAdaptationRequiredException, SUVHelperException) | |
Public Member Functions inherited from mitk::SUVHelperException | |
| mitkExceptionClassMacro (SUVHelperException, mitk::Exception) | |
Public Member Functions inherited from mitk::Exception | |
| Exception (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown") | |
| Construct an exception with source location and description. More... | |
| ~Exception () override throw () | |
| Destructor. More... | |
| virtual const char * | GetClassName () const |
| void | AddRethrowData (const char *file, unsigned int lineNumber, const char *message) |
| Record additional rethrow context for this exception. More... | |
| int | GetNumberOfRethrows () |
| Return the number of times this exception has been rethrown. More... | |
| void | GetRethrowData (int rethrowNumber, std::string &file, int &line, std::string &message) |
| Retrieve the rethrow context for a specific rethrow. More... | |
| template<class T > | |
| Exception & | operator<< (const T &data) |
| Append data to the exception description via the stream operator. More... | |
| template<class T > | |
| Exception & | operator<< (T &data) |
| Append non-const data to the exception description via the stream operator. More... | |
| Exception & | operator<< (std::ostream &(*func)(std::ostream &)) |
| Append a stream manipulator (e.g. std::endl) to the exception description. More... | |
Additional Inherited Members | |
Protected Attributes inherited from mitk::Exception | |
| std::vector< ReThrowData > | m_RethrowData |
| List of recorded rethrow contexts. More... | |
Base class for failures triggered by a benchmark-recommended adaptation that the active policy refuses to perform.
The IBSI-SUV benchmark catalogues a handful of recommendations that help MITK accept real-world DICOM input (e.g. interpreting a Radionuclide Total Dose value below 1e4 as MBq rather than Bq). In DICOMReadPolicy::Lenient those recommendations are applied silently-but-loudly (log at WARN). In DICOMReadPolicy::Strict they are refused, and the helper throws an instance of this exception (or one of its derived classes) so callers can decide whether to abort or to escalate to the user.
Catch this base type to map the entire category to one CLI exit code or GUI message; catch a derived type when one specific category needs a tailored reaction.
Definition at line 135 of file mitkSUVCalculationHelper.h.
| mitk::BenchmarkAdaptationRequiredException::mitkExceptionClassMacro | ( | BenchmarkAdaptationRequiredException | , |
| SUVHelperException | |||
| ) |