KiCad PCB EDA Suite
KI_PARAM_ERROR Class Reference

Hold a translatable error message and may be used when throwing exceptions containing a translated error message. More...

#include <ki_exception.h>

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

Hold a translatable error message and may be used when throwing exceptions containing a translated error message.

Definition at line 44 of file ki_exception.h.

Constructor & Destructor Documentation

◆ KI_PARAM_ERROR() [1/2]

KI_PARAM_ERROR::KI_PARAM_ERROR ( const wxString &  aMessage)
inline

Constructor.

Definition at line 50 of file ki_exception.h.

51  {
52  m_message = aMessage;
53  }
wxString m_message
Definition: ki_exception.h:65

References m_message.

◆ KI_PARAM_ERROR() [2/2]

KI_PARAM_ERROR::KI_PARAM_ERROR ( )
inline

Definition at line 55 of file ki_exception.h.

55 {}

◆ ~KI_PARAM_ERROR()

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

Definition at line 62 of file ki_exception.h.

62 {}

Member Function Documentation

◆ What()

const wxString KI_PARAM_ERROR::What ( ) const
inline

Definition at line 57 of file ki_exception.h.

58  {
59  return m_message;
60  }
wxString m_message
Definition: ki_exception.h:65

References m_message.

Referenced by SIM_PLOT_FRAME::AddTuner(), and DIALOG_SIM_SETTINGS::evaluateDCControls().

Member Data Documentation

◆ m_message

wxString KI_PARAM_ERROR::m_message
private

Definition at line 65 of file ki_exception.h.

Referenced by KI_PARAM_ERROR(), and What().


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