Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Kernel::Exception::FitSizeWarning Class Referencefinal

Exception thrown when a fitting function changes number of parameters during fit. More...

#include <Exception.h>

Inheritance diagram for Mantid::Kernel::Exception::FitSizeWarning:

Public Member Functions

 FitSizeWarning (size_t oldSize)
 Constructor. More...
 
 FitSizeWarning (size_t oldSize, size_t newSize)
 Constructor. More...
 
const char * what () const noexcept override
 Get the warning message. More...
 

Private Attributes

std::string m_message
 

Detailed Description

Exception thrown when a fitting function changes number of parameters during fit.

Definition at line 336 of file Exception.h.

Constructor & Destructor Documentation

◆ FitSizeWarning() [1/2]

Mantid::Kernel::Exception::FitSizeWarning::FitSizeWarning ( size_t  oldSize)
explicit

Constructor.

Parameters
oldSize:: Old number of free fitting parameters

Definition at line 325 of file Exception.cpp.

◆ FitSizeWarning() [2/2]

Mantid::Kernel::Exception::FitSizeWarning::FitSizeWarning ( size_t  oldSize,
size_t  newSize 
)

Constructor.

Parameters
oldSize:: Old number of free fitting parameters
newSize:: New number of free fitting parameters

Definition at line 332 of file Exception.cpp.

Member Function Documentation

◆ what()

const char * Mantid::Kernel::Exception::FitSizeWarning::what ( ) const
overridenoexcept

Get the warning message.

Definition at line 337 of file Exception.cpp.

References m_message.

Member Data Documentation

◆ m_message

std::string Mantid::Kernel::Exception::FitSizeWarning::m_message
private

Definition at line 337 of file Exception.h.

Referenced by what().


The documentation for this class was generated from the following files: