ug4
ug::bridge::UGRegistryError Struct Reference

#include <error.h>

+ Inheritance diagram for ug::bridge::UGRegistryError:

Public Member Functions

 UGRegistryError (std::string msg_, const char *file=" -- no file -- ", const unsigned long line=0)
 
 UGRegistryError (std::string name_, std::string msg_, const char *file=" -- no file -- ", const unsigned long line=0)
 
- Public Member Functions inherited from ug::UGError
const std::string & get_file (size_t i) const
 returns the file where a message occured More...
 
unsigned long get_line (size_t i) const
 returns the line where a message occured More...
 
const std::string & get_msg () const
 returns the initial message More...
 
const std::string & get_msg (size_t i) const
 returns a message in the message-stack (innermost is first) More...
 
std::string get_stacktrace () const
 
size_t num_msg () const
 number of messages in message-stack More...
 
void push_msg (const char *msg, const char *file=" -- no file -- ", const unsigned long line=0)
 adds a message to the message stack More...
 
void push_msg (const std::string &msg, const char *file=" -- no file -- ", const unsigned long line=0)
 adds a message to the message stack More...
 
 UGError (const char *msg, const char *file=" -- no file -- ", const unsigned long line=0)
 
 UGError (const std::string &msg, const char *file=" -- no file -- ", const unsigned long line=0)
 
 UGError (const std::string &msg, const std::exception &ex, const char *file, const unsigned long line)
 
virtual ~UGError ()
 virtual destructor More...
 

Public Attributes

std::string msg
 
std::string name
 

Additional Inherited Members

- Protected Attributes inherited from ug::UGError
std::vector< std::string > m_vFile
 
std::vector< unsigned long > m_vLine
 
std::vector< std::string > m_vMsg
 

Constructor & Destructor Documentation

◆ UGRegistryError() [1/2]

ug::bridge::UGRegistryError::UGRegistryError ( std::string  name_,
std::string  msg_,
const char *  file = " -- no file -- ",
const unsigned long  line = 0 
)
inline

References UG_ERR_LOG.

◆ UGRegistryError() [2/2]

ug::bridge::UGRegistryError::UGRegistryError ( std::string  msg_,
const char *  file = " -- no file -- ",
const unsigned long  line = 0 
)
inline

References UG_ERR_LOG.

Member Data Documentation

◆ msg

std::string ug::bridge::UGRegistryError::msg

◆ name

std::string ug::bridge::UGRegistryError::name

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