A class that automatically logs the exception message.  
 More...
#include <LoggedException.h>
A class that automatically logs the exception message. 
Definition at line 43 of file LoggedException.h.
 
◆ LoggedException() [1/2]
  
  
      
        
          | te::common::LoggedException::LoggedException  | 
          ( | 
          const std::string &  | 
          what | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
explicit   | 
  
 
It initializes a new LoggedException. 
- Parameters
 - 
  
    | what | A brief description of what has raised the exception.  | 
  
   
 
 
◆ LoggedException() [2/2]
  
  
      
        
          | te::common::LoggedException::LoggedException  | 
          ( | 
          const char *const  | 
          what | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
explicit   | 
  
 
It initializes a new LoggedException. 
- Parameters
 - 
  
    | what | A brief description of what has raised the exception.  | 
  
   
 
 
◆ ~LoggedException()
  
  
      
        
          | virtual te::common::LoggedException::~LoggedException  | 
          ( | 
           | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ code()
  
  
      
        
          | virtual int te::common::Exception::code  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
virtualinherited   | 
  
 
It gets the exception code. 
- Returns
 - The exception code. 
 
 
 
◆ getClassName()
  
  
      
        
          | virtual const char* te::common::LoggedException::getClassName  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
virtual   | 
  
 
It return the exception class name. 
- Returns
 - the exception class name. 
 
Reimplemented from te::common::Exception.
 
 
◆ what()
  
  
      
        
          | virtual const char* te::common::Exception::what  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
virtualinherited   | 
  
 
It outputs the exception message. 
- Returns
 - The exception message. 
 
 
 
◆ m_code
  
  
      
        
          | int te::common::Exception::m_code | 
         
       
   | 
  
protectedinherited   | 
  
 
The internal exception code. 
Definition at line 105 of file Exception.h.
 
 
◆ m_msg
  
  
      
        
          | std::string te::common::Exception::m_msg | 
         
       
   | 
  
protectedinherited   | 
  
 
The internal exception message. 
Definition at line 106 of file Exception.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/common/LoggedException.h