Exotica
Public Types | Public Member Functions | Public Attributes | Static Private Attributes | List of all members
exotica::Exception Class Reference

#include <exception.h>

Inheritance diagram for exotica::Exception:
Inheritance graph
Collaboration diagram for exotica::Exception:
Collaboration graph

Public Types

enum  ReportingType {
  Message = 1, FileName = 2, FunctionName = 4, LineNumber = 8,
  ObjectName = 16
}
 

Public Member Functions

 Exception (const std::string &msg, const char *file, const char *func, int line, const std::string &object=std::string())
 
virtual const char * what () const noexcept
 

Public Attributes

std::string msg_
 

Static Private Attributes

static ReportingType reporting_
 

Member Enumeration Documentation

◆ ReportingType

Enumerator
Message 
FileName 
FunctionName 
LineNumber 
ObjectName 

Constructor & Destructor Documentation

◆ Exception()

exotica::Exception::Exception ( const std::string &  msg,
const char *  file,
const char *  func,
int  line,
const std::string &  object = std::string() 
)
explicit

Member Function Documentation

◆ what()

virtual const char* exotica::Exception::what ( ) const
virtualnoexcept

Member Data Documentation

◆ msg_

std::string exotica::Exception::msg_

◆ reporting_

ReportingType exotica::Exception::reporting_
staticprivate

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