Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
AlephException Struct Reference

Aleph exception class. More...

#include <aleph-exceptions.H>

Inheritance diagram for AlephException:
[legend]
Collaboration diagram for AlephException:
[legend]

Public Member Functions

 AlephException ()
 
 AlephException (const std::string &category_msg, const size_t line_number, const std::string &file_name, const std::string &type, const std::string &msg)
 

Public Attributes

const size_t line_number = 0
 Line number of source file where the exception was thrown.
 
const std::string file_name = "No defined"
 file name where the exception was thrown
 
const std::string type = "No defined"
 
const std::string msg = "No defined"
 Type name.
 

Protected Attributes

std::string category_msg = "No defined"
 Message describing the error.
 

Static Private Member Functions

static std::string make_what (const std::string &category_msg, size_t line_number, const std::string &file_name, const std::string &type, const std::string &msg)
 

Detailed Description

Aleph exception class.

Author
Leandro Rabindranath Leon
Note
This class is not intended for public use. Instead use the macro DEFINE_ALEPH_EXCEPTION
Deprecated:
aleph-exceptions.H goes in 8.0.0: use the macros of ah-errors.H, which throw the exceptions of the standard library.

Definition at line 119 of file aleph-exceptions.H.

Constructor & Destructor Documentation

◆ AlephException() [1/2]

AlephException::AlephException ( )
inline

Definition at line 150 of file aleph-exceptions.H.

◆ AlephException() [2/2]

AlephException::AlephException ( const std::string &  category_msg,
const size_t  line_number,
const std::string &  file_name,
const std::string &  type,
const std::string &  msg 
)
inline

Definition at line 152 of file aleph-exceptions.H.

Member Function Documentation

◆ make_what()

static std::string AlephException::make_what ( const std::string &  category_msg,
size_t  line_number,
const std::string &  file_name,
const std::string &  type,
const std::string &  msg 
)
inlinestaticprivate

Definition at line 136 of file aleph-exceptions.H.

Member Data Documentation

◆ category_msg

std::string AlephException::category_msg = "No defined"
protected

Message describing the error.

Definition at line 132 of file aleph-exceptions.H.

◆ file_name

const std::string AlephException::file_name = "No defined"

file name where the exception was thrown

Definition at line 125 of file aleph-exceptions.H.

◆ line_number

const size_t AlephException::line_number = 0

Line number of source file where the exception was thrown.

Definition at line 122 of file aleph-exceptions.H.

◆ msg

const std::string AlephException::msg = "No defined"

Type name.

Definition at line 128 of file aleph-exceptions.H.

◆ type

const std::string AlephException::type = "No defined"

Definition at line 127 of file aleph-exceptions.H.


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