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
[legend]

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_ = Exception::Message | Exception::FileName | Exception::FunctionName | Exception::LineNumber | Exception::ObjectName
 

Detailed Description

Definition at line 51 of file exception.h.

Member Enumeration Documentation

Enumerator
Message 
FileName 
FunctionName 
LineNumber 
ObjectName 

Definition at line 54 of file exception.h.

Constructor & Destructor Documentation

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

Definition at line 36 of file exception.cpp.

Member Function Documentation

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

Definition at line 47 of file exception.cpp.

Member Data Documentation

std::string exotica::Exception::msg_

Definition at line 66 of file exception.h.

Definition at line 69 of file exception.h.


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


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Sat Apr 10 2021 02:34:50