A class that automatically logs the exception message. More...
#include <LoggedException.h>
  
 Public Member Functions | |
| virtual int | code () const throw () | 
| It gets the exception code.  More... | |
| virtual const char * | getClassName () const throw () | 
| It return the exception class name.  More... | |
| LoggedException (const std::string &what) throw () | |
| It initializes a new LoggedException.  More... | |
| LoggedException (const char *const what) throw () | |
| It initializes a new LoggedException.  More... | |
| virtual const char * | what () const throw () | 
| It outputs the exception message.  More... | |
| virtual | ~LoggedException () throw () | 
| Destructor.  More... | |
Protected Attributes | |
| int | m_code | 
| The internal exception code.  More... | |
| std::string | m_msg | 
| The internal exception message.  More... | |
A class that automatically logs the exception message.
Definition at line 43 of file LoggedException.h.
      
  | 
  explicit | ||||||||||||||
It initializes a new LoggedException.
| what | A brief description of what has raised the exception. | 
Definition at line 30 of file LoggedException.cpp.
References TE_LOG_INFO.
      
  | 
  explicit | ||||||||||||||
It initializes a new LoggedException.
| what | A brief description of what has raised the exception. | 
Definition at line 36 of file LoggedException.cpp.
References TE_LOG_INFO.
      
  | 
  virtual | |||||||||||||
Destructor.
Definition at line 42 of file LoggedException.cpp.
      
  | 
  virtualinherited | |||||||||||||
      
  | 
  virtual | |||||||||||||
It return the exception class name.
Reimplemented from te::common::Exception.
Definition at line 46 of file LoggedException.cpp.
      
  | 
  virtualinherited | |||||||||||||
It outputs the exception message.
Definition at line 58 of file Exception.cpp.
Referenced by te::qt::widgets::DataSetTableView::addColumn(), te::qt::widgets::DataSetTableView::changeColumnData(), te::qt::plugins::terralib4::TL4ConverterWizard::commit(), te::rp::PCAFusion::execute(), te::qt::widgets::DataFrame::getLayerList(), te::qt::af::BaseApplication::init(), te::rp::PCAFusion::loadRessampledRaster(), te::qt::widgets::QueryDataSourceDialog::onApplySelToolButtonClicked(), te::qt::widgets::SymbolSelectorDialog::onLoadSymbolLibraryPushButtonPressed(), te::qt::af::BaseApplication::onOpenProjectTriggered(), te::common::operator<<(), te::qt::widgets::DataSetTableView::removeColumn(), te::qt::widgets::DataSetTableView::saveEditions(), te::qt::widgets::DataSetTableModel::setData(), and te::qt::widgets::DataSetTableView::sortByColumns().
      
  | 
  protectedinherited | 
The internal exception code.
Definition at line 105 of file Exception.h.
      
  | 
  protectedinherited | 
The internal exception message.
Definition at line 106 of file Exception.h.