KiCad PCB EDA Suite
numEval::KI_PARAM_ERROR Class Reference

class KI_PARAM_ERROR is a class used to hold a translatable error message and may be used when throwing exceptions containing a translated error message. More...

Public Member Functions

 KI_PARAM_ERROR (const wxString &aMessage)
 Constructor. More...
 
 KI_PARAM_ERROR ()
 
const wxString What () const
 
virtual ~KI_PARAM_ERROR () throw ()
 

Private Attributes

wxString m_message
 

Detailed Description

class KI_PARAM_ERROR is a class used to hold a translatable error message and may be used when throwing exceptions containing a translated error message.

Definition at line 46 of file numeric_evaluator.cpp.

Constructor & Destructor Documentation

numEval::KI_PARAM_ERROR::KI_PARAM_ERROR ( const wxString &  aMessage)
inline

Constructor.

Definition at line 52 of file numeric_evaluator.cpp.

numEval::KI_PARAM_ERROR::KI_PARAM_ERROR ( )
inline

Definition at line 57 of file numeric_evaluator.cpp.

virtual numEval::KI_PARAM_ERROR::~KI_PARAM_ERROR ( )
throw (
)
inlinevirtual

Definition at line 64 of file numeric_evaluator.cpp.

Member Function Documentation

const wxString numEval::KI_PARAM_ERROR::What ( ) const
inline

Definition at line 59 of file numeric_evaluator.cpp.

60 {
61  struct lconv* lc = localeconv();
62  m_localeDecimalSeparator = *lc->decimal_point;

Member Data Documentation

wxString numEval::KI_PARAM_ERROR::m_message
private

Definition at line 67 of file numeric_evaluator.cpp.


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