KiCad PCB EDA Suite
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...

#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

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 45 of file ki_exception.h.

Constructor & Destructor Documentation

KI_PARAM_ERROR::KI_PARAM_ERROR ( const wxString &  aMessage)
inline

Constructor.

Definition at line 51 of file ki_exception.h.

References m_message.

52  {
53  m_message = aMessage;
54  }
wxString m_message
Definition: ki_exception.h:66
KI_PARAM_ERROR::KI_PARAM_ERROR ( )
inline

Definition at line 56 of file ki_exception.h.

56 {}
virtual KI_PARAM_ERROR::~KI_PARAM_ERROR ( )
throw (
)
inlinevirtual

Definition at line 63 of file ki_exception.h.

63 {}

Member Function Documentation

const wxString KI_PARAM_ERROR::What ( ) const
inline

Definition at line 58 of file ki_exception.h.

References m_message.

Referenced by SIM_PLOT_FRAME::AddTuner(), IO_ERROR::IO_ERROR(), and DIALOG_SIM_SETTINGS::TransferDataFromWindow().

59  {
60  return m_message;
61  }
wxString m_message
Definition: ki_exception.h:66

Member Data Documentation

wxString KI_PARAM_ERROR::m_message
private

Definition at line 66 of file ki_exception.h.

Referenced by KI_PARAM_ERROR(), and What().


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